Compare commits
6 commits
de1c2b26e1
...
6f4d43ee70
Author | SHA1 | Date | |
---|---|---|---|
6f4d43ee70 | |||
e57889aeed | |||
cd8e5681f6 | |||
44cfe907e7 | |||
ccefc47c0e | |||
df6585e875 |
10 changed files with 32 additions and 24 deletions
|
@ -68,11 +68,12 @@ define_tag() {
|
||||||
riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1
|
riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1
|
||||||
}
|
}
|
||||||
|
|
||||||
define_tag $((1 << 0)) M
|
define_tag $((1 << 0)) 1
|
||||||
define_tag $((1 << 1)) Comma
|
define_tag $((1 << 1)) 2
|
||||||
define_tag $((1 << 2)) Period
|
define_tag $((1 << 2)) 3
|
||||||
define_tag $((1 << 3)) Apostrophe
|
define_tag $((1 << 3)) 4
|
||||||
define_tag $((1 << 4)) V
|
define_tag $((1 << 4)) 5
|
||||||
|
define_tag $((1 << 5)) 6
|
||||||
|
|
||||||
all_tags=$(((1 << 32) - 1))
|
all_tags=$(((1 << 32) - 1))
|
||||||
riverctl map normal $mod 0 set-focused-tags $all_tags
|
riverctl map normal $mod 0 set-focused-tags $all_tags
|
||||||
|
|
1
.config/sv/.gitignore
vendored
Normal file
1
.config/sv/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*/supervise
|
2
.config/sv/gnome-keyring-daemon/run
Executable file
2
.config/sv/gnome-keyring-daemon/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec gnome-keyring-daemon --foreground --components=pkcs11,secrets,ssh
|
2
.config/sv/goimapnotify/run
Executable file
2
.config/sv/goimapnotify/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec goimapnotify -conf ~/.config/imapnotify/config.json
|
2
.config/sv/syncthing/run
Executable file
2
.config/sv/syncthing/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec syncthing -no-browser
|
|
@ -223,8 +223,8 @@ bindsym --locked XF86AudioPlay exec 'playerctl play-pause'
|
||||||
bindsym --locked XF86AudioPrev exec 'playerctl previous'
|
bindsym --locked XF86AudioPrev exec 'playerctl previous'
|
||||||
bindsym --locked XF86AudioNext exec 'playerctl next'
|
bindsym --locked XF86AudioNext exec 'playerctl next'
|
||||||
|
|
||||||
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
bindsym --locked XF86MonBrightnessUp exec 'brillo -u 150000 -A 5; brillo -O'
|
||||||
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
bindsym --locked XF86MonBrightnessDown exec 'brillo -u 150000 -U 5; brillo -O'
|
||||||
|
|
||||||
default_border pixel 4
|
default_border pixel 4
|
||||||
|
|
||||||
|
@ -235,11 +235,11 @@ for_window [title="."] inhibit_idle fullscreen
|
||||||
for_window [title="Firefox — Sharing Indicator"] floating enable
|
for_window [title="Firefox — Sharing Indicator"] floating enable
|
||||||
for_window [app_id="fzf"] floating enable
|
for_window [app_id="fzf"] floating enable
|
||||||
|
|
||||||
assign [title="https:\/\/discord.com - "] "3"
|
assign [title="https:\/\/discord.com - "] "4"
|
||||||
assign [title="https:\/\/web.whatsapp.com - "] "3"
|
assign [title="https:\/\/web.whatsapp.com - "] "4"
|
||||||
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "3"
|
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "4"
|
||||||
assign [app_id="neomutt"] "3"
|
assign [app_id="neomutt"] "4"
|
||||||
assign [app_id="telegram-desktop"] "3"
|
assign [app_id="telegram-desktop"] "4"
|
||||||
|
|
||||||
for_window [title="https:\/\/discord.com - "] layout tabbed
|
for_window [title="https:\/\/discord.com - "] layout tabbed
|
||||||
for_window [title="https:\/\/web.whatsapp.com - "] layout tabbed
|
for_window [title="https:\/\/web.whatsapp.com - "] layout tabbed
|
||||||
|
@ -252,13 +252,7 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DE
|
||||||
exec pipewire
|
exec pipewire
|
||||||
exec "foot --server"
|
exec "foot --server"
|
||||||
exec "wlsunset -l -34.61315 -L -58.37723"
|
exec "wlsunset -l -34.61315 -L -58.37723"
|
||||||
exec "pgrep -x syncthing >/dev/null || syncthing -no-browser"
|
|
||||||
exec swaync
|
exec swaync
|
||||||
exec kanshi
|
exec kanshi
|
||||||
exec "mbsync -a"
|
|
||||||
exec "mpd"
|
|
||||||
exec "pgrep -x goimapnotify >/dev/null || goimapnotify -conf ~/.config/imapnotify/config.json"
|
|
||||||
|
|
||||||
exec "foot --app-id=neomutt neomutt"
|
|
||||||
exec telegram-desktop
|
|
||||||
exec "gnome-keyring-daemon --foreground --components=pkcs11,secrets,ssh"
|
|
||||||
|
|
1
.local/share/service/gnome-keyring-daemon
Symbolic link
1
.local/share/service/gnome-keyring-daemon
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../.config/sv/gnome-keyring-daemon
|
1
.local/share/service/goimapnotify
Symbolic link
1
.local/share/service/goimapnotify
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../.config/sv/goimapnotify
|
1
.local/share/service/syncthing
Symbolic link
1
.local/share/service/syncthing
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../.config/sv/syncthing
|
13
.zprofile
13
.zprofile
|
@ -5,12 +5,15 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
|
||||||
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||||||
chmod 700 "$XDG_RUNTIME_DIR"
|
chmod 700 "$XDG_RUNTIME_DIR"
|
||||||
mkdir -p "$HOME/.local/share/river"
|
mkdir -p "$HOME/.local/share/sway"
|
||||||
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
|
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||||
|
|
||||||
|
pgrep -U "$(id -u)" runsv >/dev/null || (nohup runsvdir ~/.local/share/service >/dev/null &; disown)
|
||||||
|
|
||||||
exec env \
|
exec env \
|
||||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||||
XDG_CURRENT_DESKTOP=river \
|
XDG_CURRENT_DESKTOP=sway \
|
||||||
XDG_SESSION_DESKTOP=river \
|
XDG_SESSION_DESKTOP=sway \
|
||||||
dbus-run-session river >"$log" 2>&1
|
dbus-run-session sway >"$log" 2>&1
|
||||||
fi
|
fi
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
Loading…
Reference in a new issue