refactor(hypr): move more config into nix files

This commit is contained in:
matt1432 2024-02-05 09:56:42 -05:00
parent 1b235a4b7e
commit efa318d4d1
9 changed files with 121 additions and 121 deletions
devices
binto/config/hypr
wim/config/hypr

View file

@ -1,41 +1,10 @@
# Autostart programs
exec-once = ags
exec-once = sleep 6; nextcloud --background
exec-once = sleep 10; tmux new-session -s gsr -d 'bash -c $HOME/.config/gsr.sh'
# TODO: add gpu-save-replay bind
## fix fullscreen game resolution
exec-once = xrandr --output DP-5 --primary
## Special window apps
exec-once = [workspace special:thunder silent] thunderbird
windowrule = workspace special:thunder silent,^(thunderbird)$
bind = $mainMod, T, togglespecialworkspace, thunder
exec-once = [workspace special:spot silent] spotify
windowrule = workspace special:spot silent,^(Spotify)$
bind = $mainMod, S, togglespecialworkspace, spot
# Input settings
device:razer-razer-naga-pro {
sensitivity = -0.5
accel_profile = "flat"
}
# Binds
bind = Alt Shift, Tab, cyclenext
## Ags & co
bindn = , Escape, exec, ags run-js 'closeAll()'
bind = $mainMod SHIFT, E , exec, ags -t powermenu
bind = $mainMod , D , exec, ags -t applauncher
# Rules
windowrule = tile,^(firefox)$
# Cosmetic
general {

View file

@ -1,39 +1,3 @@
# Autostart programs
exec-once = sleep 3; nextcloud --background
exec-once = squeekboard
exec-once = ags
exec-once = sleep 3; ags -t applauncher
## Special window apps
exec-once = [workspace special:thunder silent] thunderbird
windowrule = workspace special:thunder silent,^(thunderbird)$
bind = $mainMod, T, togglespecialworkspace, thunder
exec-once = [workspace special:spot silent] spotify
windowrule = workspace special:spot silent,^(Spotify)$
bind = $mainMod, S, togglespecialworkspace, spot
# Input settings
device:razer-razer-naga-pro-1 {
sensitivity = -0.5
accel_profile = "flat"
}
# Binds
## Brightness control
binde =, XF86MonBrightnessUp, exec, ags -r 'Brightness.screen += 0.05'
binde =, XF86MonBrightnessDown, exec, ags -r 'Brightness.screen -= 0.05'
bindr = CAPS, Caps_Lock, exec, ags -r 'Brightness.fetchCapsState()'
## Ags & co
bindn = , Escape, exec, ags run-js 'closeAll()'
bind = $mainMod SHIFT, E , exec, ags -t powermenu
bind = $mainMod , D , exec, ags -t applauncher
# Cosmetic
general {
gaps_in = 5
@ -79,23 +43,3 @@ animations {
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
}
# For GParted auth
windowrule = size 741 288,^(org.kde.ksshaskpass)$
windowrule = move cursor -370 -144,^(org.kde.ksshaskpass)$
windowrule = float,^(org.gnome.Calculator)$
windowrule = size 1231 950,title:^(Open Folder)$
windowrule = float,title:^(Open Folder)$
windowrule = size 1231 950,title:^(Open File)$
windowrule = float,title:^(Open File)$
windowrule = float,^(com.nextcloud.desktopclient.nextcloud)$
windowrule = move cursor -15 -10,^(com.nextcloud.desktopclient.nextcloud)$
windowrule = size 400 581,^(com.nextcloud.desktopclient.nextcloud)$
windowrule = tile,^(photoshop.exe)$
windowrule = tile,^(libreoffice)$