From 8ee41fc8c0b6e23ef13fbbdcb82fdaba65b805c0 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Thu, 15 Jun 2023 18:13:10 -0400 Subject: [PATCH] refactor: clean up main.conf --- hypr/hyprland.conf | 2 +- hypr/main.conf | 16 ++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c4e0a699..5d97001e 120000 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1 +1 @@ -/nix/store/bz29bpif91v5k2xf12pv0y1lra7lad6x-home-manager-files/.config/hypr/hyprland.conf \ No newline at end of file +/nix/store/mgsld6x1ckizs308k3pr9sjcjnavlqya-home-manager-files/.config/hypr/hyprland.conf \ No newline at end of file diff --git a/hypr/main.conf b/hypr/main.conf index 1edfb9f0..16d288f1 100644 --- a/hypr/main.conf +++ b/hypr/main.conf @@ -1,6 +1,4 @@ # Plugins -plugin = /nix/store/60x0zlg3fbq7nzz8249fxsb89pn541z8-hyprland-touch-gestures-0.3.0/lib/libtouch-gestures.so - plugin { touch_gestures { # default sensitivity is probably too low on tablet screens, @@ -37,9 +35,10 @@ exec-once = hyprpaper exec-once = $scripts/lose-focus.sh # 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 = 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 = wl-paste --watch cliphist store @@ -50,9 +49,6 @@ exec-once = swayosd # Change HandleLidSwitch to lock in logind.conf 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. env = XCURSOR_SIZE,24 @@ -140,10 +136,6 @@ gestures { #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 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 $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 # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more