From 9611b19c39f9487c5720c0ac9b1c943f5c138b03 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 30 May 2024 23:09:00 -0700 Subject: [PATCH] adding dwm stuff I need to sort out all the services here, and do them in nix instead --- Xresources | 3 +++ dwm-init | 20 ++++++++++++++++++++ screenlayout | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 Xresources create mode 100644 dwm-init create mode 100644 screenlayout diff --git a/Xresources b/Xresources new file mode 100644 index 0000000..eed5c98 --- /dev/null +++ b/Xresources @@ -0,0 +1,3 @@ +Xft.dpi: 90 +Xcursor.size: 16 +Xcursor.theme: BreezeX-RosePine diff --git a/dwm-init b/dwm-init new file mode 100644 index 0000000..cba37c9 --- /dev/null +++ b/dwm-init @@ -0,0 +1,20 @@ +#!/bin/sh + +export GTK_THEME=rose-pine-gtk +xset r rate 200 50 & + +export LIBVA_DRIVER_NAME=vdpau +/home/zynh/.user/scripts/fehbg & +/home/zynh/.screenlayout/main.sh & +/home/zynh/.user/scripts/xroot-datetime & +dunst & +syncthing --no-browser & +unclutter & +numlockx & +playerctld daemon +xbindkeys +picom --no-fading-openclose -b # -b makes picom fork to a daemon, making the & unneeded + +xrdb /home/zynh/.Xresources + +exec dwm diff --git a/screenlayout b/screenlayout new file mode 100644 index 0000000..f3a41d8 --- /dev/null +++ b/screenlayout @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --primary --mode 1920x1080 --pos 1922x0 --rotate normal --output DP-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off --output DP-3 --off --output HDMI-1 --off --output DP-4 --off --output DP-5 --off