From 0ef5de12ac9599b8ac126e521ad8ea6d0e7b3be5 Mon Sep 17 00:00:00 2001 From: Hydroxycarbamide Date: Sat, 27 Jul 2024 17:30:36 +0200 Subject: [PATCH] Update config --- dot_config/hypr/binds.conf | 2 +- dot_config/hypr/env.conf | 3 +++ dot_config/hypr/exec.conf | 1 + dot_config/niri/config.kdl | 14 +++++++------- dot_config/river/executable_init | 8 +++++--- dot_config/sway/config | 4 ++-- 6 files changed, 19 insertions(+), 13 deletions(-) diff --git a/dot_config/hypr/binds.conf b/dot_config/hypr/binds.conf index 2916e4c..89ba2eb 100644 --- a/dot_config/hypr/binds.conf +++ b/dot_config/hypr/binds.conf @@ -33,7 +33,7 @@ bind = $mod SHIFT, W, exec, rofi -show window -theme catppuccin-macchiato # bind = ALT_L, Tab, exec, killall -SIGUSR1 sfwbar bind = $mod, P, pseudo, # dwindle only # bind = $mod SHIFT, P, exec, hyprctl dispatch dpms off -# bind = $mod SHIFT, L, exec, swaylock +# bind = $mod SHIFT, L, exec, ~/.config/hypr/bsplock bind = $mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mod, N, exec, networkmanager_dmenu bind = CAPS, , exec, swayosd-client --caps-lock-led diff --git a/dot_config/hypr/env.conf b/dot_config/hypr/env.conf index b9a8ab7..95973a1 100644 --- a/dot_config/hypr/env.conf +++ b/dot_config/hypr/env.conf @@ -4,3 +4,6 @@ env = XCURSOR_SIZE,24 #env = HYPRCURSOR_THEME,qogir_hl env = XCURSOR_THEME,Qogir-dark #env = WLR_NO_HARDWARE_CURSORS,1 +env = ELECTRON_USE_OZONE,1 +env = OZONE_PLATFORM,wayland +env = GDK_BACKEND,wayland diff --git a/dot_config/hypr/exec.conf b/dot_config/hypr/exec.conf index 340cf82..652a298 100644 --- a/dot_config/hypr/exec.conf +++ b/dot_config/hypr/exec.conf @@ -16,6 +16,7 @@ exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data exec-once = systemctl start --user foot-server exec-once = systemctl start --user sunshine +# exec-once = systemctl start --user gammastep # exec-once = flatpak run me.kozec.syncthingtk -m & # exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & exec-once = /usr/lib/polkit-kde-authentication-agent-1 & diff --git a/dot_config/niri/config.kdl b/dot_config/niri/config.kdl index 37e8f2b..f25cfec 100644 --- a/dot_config/niri/config.kdl +++ b/dot_config/niri/config.kdl @@ -74,12 +74,12 @@ input { warp-mouse-to-focus // Focus windows and outputs automatically when moving the mouse into them. - focus-follows-mouse + focus-follows-mouse // Uncomment this to enable workspace auto-back-and-forth. // If enabled, switching to the same workspace by index twice will switch back to the // previous workspace. - workspace-auto-back-and-forth + // workspace-auto-back-and-forth } // You can configure outputs by their name, which you can find @@ -120,7 +120,7 @@ input { output "DP-1" { mode "1920x1080" position x=0 y=0 - variable-refresh-rate + // variable-refresh-rate } @@ -436,7 +436,7 @@ binds { Mod+Return { spawn "foot"; } Mod+D { spawn "rofi" "-show" "drun" "-theme" "catppuccin-macchiato"; } Mod+W { spawn "rofi" "-show" "window" "-theme" "catppuccin-macchiato"; } - Mod+Q { spawn "rofi" "-show" "power-menu" "-modi" "power-menu:rofi-power-menu"; } + Mod+Q { spawn "wlogout" "-p" "layer-shell"; } Mod+E { spawn "kitty" "--class='fm-term'" "nnn" "-da" "-P" "p"; } Mod+Shift+E { spawn "xdg-open" "."; } @@ -687,7 +687,7 @@ debug { disable-cursor-plane // Override the DRM device that niri will use for all rendering. - // render-drm-device "/dev/dri/renderD129" + render-drm-device "/dev/dri/renderD128" // Enable the color-transformations capability of the Smithay renderer. // May cause a slight decrease in rendering performance. @@ -708,12 +708,12 @@ spawn-at-startup "swaync" spawn-at-startup "waybar" spawn-at-startup "systemctl" "start" "--user" "foot-server" spawn-at-startup "systemctl" "start" "--user" "sunshine" -spawn-at-startup "systemctl" "start" "--user" "gammastep" +// spawn-at-startup "systemctl" "start" "--user" "gammastep" spawn-at-startup "/usr/lib/polkit-kde-authentication-agent-1" spawn-at-startup "/usr/lib/kdeconnectd" spawn-at-startup "kdeconnect-indicator" spawn-at-startup "wl-paste" "--type" "text" "--watch" "cliphist" "store" spawn-at-startup "wl-paste" "--type" "image" "--watch" "cliphist" "store" spawn-at-startup "swayosd-server" -spawn-at-startup "swayidle before-sleep 'loginctl lock-session' lock 'swaylock' &" +spawn-at-startup "swayidle" "before-sleep" "'loginctl lock-session'" "lock" "'swaylock'" spawn-at-startup "xwayland-satellite" diff --git a/dot_config/river/executable_init b/dot_config/river/executable_init index bb398b9..afb5102 100644 --- a/dot_config/river/executable_init +++ b/dot_config/river/executable_init @@ -212,8 +212,9 @@ riverctl set-repeat 50 200 # mouse riverctl input pointer-13159-6403-EndGameGear_XM1_Gaming_Mouse accel-profile flat -riverctl input pointer-*Touchpad accel-profile adaptive -riverctl input pointer-*Touchpad natural-scroll enabled +riverctl input *Touchpad accel-profile adaptive +riverctl input *Touchpad natural-scroll enabled +riverctl input *Touchpad tap enabled # Clipboard riverctl map normal Super V spawn 'bash -c "cliphist list | rofi -dmenu | cliphist decode | wl-copy"' @@ -295,6 +296,7 @@ swayosd-server & ## systemctl restarts systemctl start --user foot-server systemctl start --user sunshine +# systemctl start --user gammastep.service ## cliphist wl-paste --type text --watch cliphist store & #Stores only text data @@ -305,5 +307,5 @@ wl-paste --type image --watch cliphist store & #Stores only image data /usr/lib/polkit-kde-authentication-agent-1 & ## lock -swayidle before-sleep 'loginctl lock-session' lock 'swaylock' & +swayidle before-sleep 'loginctl lock-session' lock '/home/eric/.config/hypr/bsplock' & diff --git a/dot_config/sway/config b/dot_config/sway/config index 52d6c3c..4ba132e 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -27,7 +27,7 @@ set $menu rofi -show drun -theme catppuccin-macchiato # # You can get the names of your outputs by running: swaymsg -t get_outputs -output * bg /home/eric/Pictures/wallpapers/FpJR73waUAAdFOr_upscayl_4x_realesrgan-x4plus.png fill +output * bg /home/eric/Pictures/wallpapers/ayaka.png fill output DP-1 { position 0 0 @@ -448,7 +448,7 @@ exec systemctl start --user foot-server exec systemctl start --user sunshine exec wl-paste --type text --watch cliphist store exec wl-paste --type image --watch cliphist store -exec swayidle before-sleep 'loginctl lock-session' lock 'swaylock' +exec swayidle before-sleep 'loginctl lock-session' lock '/home/eric/.config/hypr/bsplock' # exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & exec /usr/lib/polkit-kde-authentication-agent-1 & exec rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -t 200 -n -c 1 -s $HOME/.config/sov