aboutsummaryrefslogtreecommitdiff
path: root/dot_config/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/hypr')
-rw-r--r--dot_config/hypr/config/general.conf3
-rw-r--r--dot_config/hypr/config/programs.conf16
-rw-r--r--dot_config/hypr/config/rules.conf25
3 files changed, 23 insertions, 21 deletions
diff --git a/dot_config/hypr/config/general.conf b/dot_config/hypr/config/general.conf
index 8c8b600..df2e16c 100644
--- a/dot_config/hypr/config/general.conf
+++ b/dot_config/hypr/config/general.conf
@@ -1,7 +1,5 @@
monitor=DP-4,2560x1440@240,auto,1
workspace=DP-3,1
-# monitor=DP-2,1920x1080@240,0x0,1
- # workspace=DP-2,6
monitor=DP-3,1920x1200@60,auto-left,1,transform,1
workspace=DP-4,6
@@ -93,6 +91,7 @@ misc {
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = de
+ kb_variant = nodeadkeys
follow_mouse = 1
sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.
diff --git a/dot_config/hypr/config/programs.conf b/dot_config/hypr/config/programs.conf
index e710951..ec4fece 100644
--- a/dot_config/hypr/config/programs.conf
+++ b/dot_config/hypr/config/programs.conf
@@ -1,27 +1,23 @@
$terminal = ghostty
-$fileManager = nautilus
$menu = fuzzel
$browser = firefox
-$discord = LIBVA_DRIVER_NAME=nvidia discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy
+$discord = webcord
+# LIBVA_DRIVER_NAME=nvidia discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy
$hyprlock = ~/.config/hypr/fix-hypr-lock.sh
$spotify = LIBVA_DRIVER_NAME=nvidia spotify-launcher
$obs = obs
$steam = steam
-# --enable-features=UseOzonePlatform --ozone-platform=wayland
-# exec-once = hyprctl dispatch workspace 1
exec-once = [workspace 1 silent] $terminal
-# exec-once = [workspace 6 silent] $discord
exec-once = [workspace 6 silent] $spotify
-# exec-once = [workspace 7 silent] $steam
-exec-once = xrandr --output DP-4 --primary
+# exec-once = xrandr --output DP-4 --primary
exec-once = XDG_MENU_PREFIX=arch- kbuildsycoca6
exec-once = sleep 2 && waybar &
exec-once = hyprpaper
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dunst
-exec-once = polkit-kde-agent
-exec-once = playerctld daemon
-exec-once = $hyprlock
+exec-once = systemctl --user start hyprpolkitagent
+
+exec-once = playerctld daemon
diff --git a/dot_config/hypr/config/rules.conf b/dot_config/hypr/config/rules.conf
index fe0b7f4..76ec7ea 100644
--- a/dot_config/hypr/config/rules.conf
+++ b/dot_config/hypr/config/rules.conf
@@ -7,12 +7,6 @@ workspace=3,monitor:DP-4,persistent:true
workspace=4,monitor:DP-4,persistent:true
workspace=5,monitor:DP-4,persistent:true
-# workspace=6,monitor:DP-2,default:true,persistent:true
-# workspace=7,monitor:DP-2,persistent:true
-# workspace=8,monitor:DP-2,persistent:true
-# workspace=9,monitor:DP-2,persistent:true
-# workspace=10,monitor:DP-2,persistent:true
-
workspace=6,monitor:DP-3,default:true,persistent:true
workspace=7,monitor:DP-3,persistent:true
workspace=8,monitor:DP-3,persistent:true
@@ -22,9 +16,22 @@ workspace=10,monitor:DP-3,persistent:true
# Other
windowrule = stay_focused on, match:class swappy
windowrule = allows_input on, match:class discord
-windowrule = monitor DP-2, match:class discord
-windowrule = no_initial_focus on, match:initial_class steam
-windowrule = monitor DP-2, match:initial_class steam
+windowrule = monitor DP-3, match:class discord
+
+windowrule {
+ name = steam
+
+ match:class = steam
+
+ monitor = DP-3
+ workspace = 7 silent
+ no_initial_focus = on
+
+ focus_on_activate = off
+ suppress_event = activatefocus
+ no_focus = on
+ no_focus = on
+}
windowrule = float on, match:class ^(jetbrains-.*)$, match:title ^(win[0-9]+)$
windowrule = no_focus on, match:class ^(jetbrains-.*)$, match:title ^(win[0-9]+)$