Compare commits

...

6 commits

Author SHA1 Message Date
6f4d43ee70 river: Usar numeros para tags 2022-10-15 12:48:52 -03:00
e57889aeed sway: Usar runsvdir para correr servicios 2022-10-15 12:48:38 -03:00
cd8e5681f6 sway: Brillo smooth 2022-10-15 12:42:42 -03:00
44cfe907e7 sway: No autoiniciar neomutt y Telegram 2022-10-15 12:11:51 -03:00
ccefc47c0e sway: Asignar redes a 4 2022-10-15 12:11:42 -03:00
df6585e875 Revert "Revert "Revert "zprofile: Usar river"""
This reverts commit 305f2806c7.
2022-10-14 19:25:38 -03:00
10 changed files with 32 additions and 24 deletions

View file

@ -68,11 +68,12 @@ define_tag() {
riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1
}
define_tag $((1 << 0)) M
define_tag $((1 << 1)) Comma
define_tag $((1 << 2)) Period
define_tag $((1 << 3)) Apostrophe
define_tag $((1 << 4)) V
define_tag $((1 << 0)) 1
define_tag $((1 << 1)) 2
define_tag $((1 << 2)) 3
define_tag $((1 << 3)) 4
define_tag $((1 << 4)) 5
define_tag $((1 << 5)) 6
all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags

1
.config/sv/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*/supervise

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec gnome-keyring-daemon --foreground --components=pkcs11,secrets,ssh

2
.config/sv/goimapnotify/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec goimapnotify -conf ~/.config/imapnotify/config.json

2
.config/sv/syncthing/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec syncthing -no-browser

View file

@ -223,8 +223,8 @@ bindsym --locked XF86AudioPlay exec 'playerctl play-pause'
bindsym --locked XF86AudioPrev exec 'playerctl previous'
bindsym --locked XF86AudioNext exec 'playerctl next'
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
bindsym --locked XF86MonBrightnessUp exec 'brillo -u 150000 -A 5; brillo -O'
bindsym --locked XF86MonBrightnessDown exec 'brillo -u 150000 -U 5; brillo -O'
default_border pixel 4
@ -235,11 +235,11 @@ for_window [title="."] inhibit_idle fullscreen
for_window [title="Firefox — Sharing Indicator"] floating enable
for_window [app_id="fzf"] floating enable
assign [title="https:\/\/discord.com - "] "3"
assign [title="https:\/\/web.whatsapp.com - "] "3"
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "3"
assign [app_id="neomutt"] "3"
assign [app_id="telegram-desktop"] "3"
assign [title="https:\/\/discord.com - "] "4"
assign [title="https:\/\/web.whatsapp.com - "] "4"
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "4"
assign [app_id="neomutt"] "4"
assign [app_id="telegram-desktop"] "4"
for_window [title="https:\/\/discord.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 "foot --server"
exec "wlsunset -l -34.61315 -L -58.37723"
exec "pgrep -x syncthing >/dev/null || syncthing -no-browser"
exec swaync
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"

View file

@ -0,0 +1 @@
../../../.config/sv/gnome-keyring-daemon

View file

@ -0,0 +1 @@
../../../.config/sv/goimapnotify

View file

@ -0,0 +1 @@
../../../.config/sv/syncthing

View file

@ -5,12 +5,15 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
XDG_RUNTIME_DIR="/run/user/$(id -u)"
mkdir -p "$XDG_RUNTIME_DIR"
chmod 700 "$XDG_RUNTIME_DIR"
mkdir -p "$HOME/.local/share/river"
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
mkdir -p "$HOME/.local/share/sway"
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 \
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
XDG_CURRENT_DESKTOP=river \
XDG_SESSION_DESKTOP=river \
dbus-run-session river >"$log" 2>&1
XDG_CURRENT_DESKTOP=sway \
XDG_SESSION_DESKTOP=sway \
dbus-run-session sway >"$log" 2>&1
fi
source ~/.zshrc