summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2023-06-09 09:59:13 +0200
committerJulian T <julian@jtle.dk>2023-06-09 10:00:39 +0200
commit85080ac87cc5bc535308147f973e4e73a77c2a4e (patch)
treea153221df71b42fa7494dab495ab2ff78b503dee
parent1a3378e922c92bd48e6f0c89c3038dfe7e9baca4 (diff)
Xinit stuff, fish, and keybinding
-rwxr-xr-xbspwm/.config/bspwm/bspwmrc1
-rw-r--r--bspwm/.xinitrc4
-rw-r--r--dwm/.xinitrc5
-rwxr-xr-xdwm/Scripts/dwmsession4
-rw-r--r--fish/.config/fish/config.fish1
-rw-r--r--i3/.xinitrc3
-rw-r--r--intcp/resc/intcp/main.c2
-rwxr-xr-xxinit/Scripts/xlaunchrc9
8 files changed, 17 insertions, 12 deletions
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc
index 33d817c..d9f00c7 100755
--- a/bspwm/.config/bspwm/bspwmrc
+++ b/bspwm/.config/bspwm/bspwmrc
@@ -21,6 +21,7 @@ bspc config remove_disabled_monitors true
# Just some rules
bspc rule -a firefox desktop=^9
bspc rule -a float state=floating
+bspc rule -a oneko state=floating
# Colors
bspc config normal_border_color "#FE6D73"
diff --git a/bspwm/.xinitrc b/bspwm/.xinitrc
index 419b635..2ba97e7 100644
--- a/bspwm/.xinitrc
+++ b/bspwm/.xinitrc
@@ -1,6 +1,6 @@
-export LOPTS="panel composer gnome-keyring jpinput"
-export WALLCONFIG="$HOME/Pictures/Rand/walls/config.yaml"
+export LOPTS="panel wallpaper composer gnome-keyring jpinput"
+export WALLCONFIG="$HOME/Pictures/rand/walls/config.yaml"
# Launch other stuff
source ~/.xprofile
source ~/Scripts/xlaunchrc
diff --git a/dwm/.xinitrc b/dwm/.xinitrc
index 9ad58f0..f1d9def 100644
--- a/dwm/.xinitrc
+++ b/dwm/.xinitrc
@@ -1,4 +1,7 @@
-
+export LOPTS="wallpaper gnome-keyring jpinput"
+export WALLCONFIG="$HOME/Pictures/rand/walls/config.yaml"
+# Launch other stuff
source ~/.xprofile
+source ~/Scripts/xlaunchrc
exec $HOME/Scripts/dwmsession
diff --git a/dwm/Scripts/dwmsession b/dwm/Scripts/dwmsession
index 5fde91a..e447915 100755
--- a/dwm/Scripts/dwmsession
+++ b/dwm/Scripts/dwmsession
@@ -9,9 +9,9 @@ fi
echo $$ > $PIDFILE
-slstatus &
+$HOME/Software/slstatus/slstatus &
while true; do
- dwm >> /tmp/dwmsession.log
+ $HOME/Software/dwm/dwm >> /tmp/dwmsession.log
sleep 1
done
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index a4509ef..649d23f 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -10,6 +10,7 @@ set -x TERM xterm-256color
set -x PATH $PATH $HOME/go/bin
set -x PATH $PATH $HOME/Scripts/bin
set -x PATH $PATH $HOME/.cargo/bin
+set -x PATH $PATH $HOME/.nix-profile/bin
# Functions
function gittr
diff --git a/i3/.xinitrc b/i3/.xinitrc
index 2dbc46f..444d8be 100644
--- a/i3/.xinitrc
+++ b/i3/.xinitrc
@@ -1,5 +1,6 @@
-export LOPTS="screensaver composer gnome-keyring"
+export LOPTS="wallpaper composer gnome-keyring jpinput"
+export WALLCONFIG="$HOME/Pictures/rand/walls/config.yaml"
# Launch other stuff
source ~/.xprofile
source ~/Scripts/xlaunchrc
diff --git a/intcp/resc/intcp/main.c b/intcp/resc/intcp/main.c
index 383ef5b..02dbd31 100644
--- a/intcp/resc/intcp/main.c
+++ b/intcp/resc/intcp/main.c
@@ -16,7 +16,7 @@ int main(void) {
event.code = KEY_LEFTMETA;
break;
case KEY_102ND:
- event.code = KEY_LEFTALT;
+ event.code = KEY_RIGHTALT;
break;
}
}
diff --git a/xinit/Scripts/xlaunchrc b/xinit/Scripts/xlaunchrc
index 7a099b3..a4cc234 100755
--- a/xinit/Scripts/xlaunchrc
+++ b/xinit/Scripts/xlaunchrc
@@ -14,20 +14,19 @@ xrdb ~/.Xresources
nm-applet &
-# set wallpaper
-setwall --config $WALLCONFIG
-
dunst &
play ~/Winsounds/login.wav -q &
-bash ~/remember_forever.sh
+# set wallpaper
+setwall --config $WALLCONFIG
# Cursor thing
xsetroot -cursor_name left_ptr
# Set dbus display variable
# dbus-update-activation-environment --systemd DISPLAY
-sleep 10 && oneko -idle 450 &
+#
+# sleep 10 && sh -c "oneko -idle 500" &
args="$LOPTS"
for arg in $args