refactor: clean up main.conf

This commit is contained in:
matt1432 2023-06-15 18:13:10 -04:00
parent 25d154e3cd
commit 8ee41fc8c0
2 changed files with 3 additions and 15 deletions

View file

@ -1 +1 @@
/nix/store/bz29bpif91v5k2xf12pv0y1lra7lad6x-home-manager-files/.config/hypr/hyprland.conf /nix/store/mgsld6x1ckizs308k3pr9sjcjnavlqya-home-manager-files/.config/hypr/hyprland.conf

View file

@ -1,6 +1,4 @@
# Plugins # Plugins
plugin = /nix/store/60x0zlg3fbq7nzz8249fxsb89pn541z8-hyprland-touch-gestures-0.3.0/lib/libtouch-gestures.so
plugin { plugin {
touch_gestures { touch_gestures {
# default sensitivity is probably too low on tablet screens, # default sensitivity is probably too low on tablet screens,
@ -37,9 +35,10 @@ exec-once = hyprpaper
exec-once = $scripts/lose-focus.sh exec-once = $scripts/lose-focus.sh
# after boot, there are 2 bars for some reason, so I kill them and rerun the command # after boot, there are 2 bars for some reason, so I kill them and rerun the command
#exec-once = waybar
exec-once = bash -c "killall -r -0 waybar && killall -r waybar; waybar" exec-once = bash -c "killall -r -0 waybar && killall -r waybar; waybar"
exec-once = swaync exec-once = swaync
# put this in home-manager conf to make it cleaner
exec-once = /nix/store/4cssj191kj5y7n738r2a90m0vplm83gr-polkit-kde-agent-1-5.27.5/libexec/polkit-kde-authentication-agent-1 exec-once = /nix/store/4cssj191kj5y7n738r2a90m0vplm83gr-polkit-kde-agent-1-5.27.5/libexec/polkit-kde-authentication-agent-1
exec-once = wl-paste --watch cliphist store exec-once = wl-paste --watch cliphist store
@ -50,9 +49,6 @@ exec-once = swayosd
# Change HandleLidSwitch to lock in logind.conf # Change HandleLidSwitch to lock in logind.conf
exec-once = swayidle -w lock $HOME/.config/gtklock/scripts/lock.sh exec-once = swayidle -w lock $HOME/.config/gtklock/scripts/lock.sh
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
@ -140,10 +136,6 @@ gestures {
#workspace_swipe_forever = yes #workspace_swipe_forever = yes
} }
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$ windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$
@ -166,10 +158,6 @@ windowrule = size 400 581,^(.blueman-manager-wrapped)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
# Touchscreen stuff
#bind =, swipe:3:l, exec, $scripts/gestures.sh next
#bind =, swipe:3:r, exec, $scripts/gestures.sh prev
bind = $mainMod, V, exec, cliphist list | ~/.config/rofi/dmenu.sh | cliphist decode | wl-copy bind = $mainMod, V, exec, cliphist list | ~/.config/rofi/dmenu.sh | cliphist decode | wl-copy
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more