diff --git a/.zshrc b/.zshrc index dce6edd..4023c82 100644 --- a/.zshrc +++ b/.zshrc @@ -30,3 +30,4 @@ alias vim="nvim" alias vi="nvim" alias ls="exa" alias cat="bat" +alias discord="discord --enable-features=UseOzonePlatform --ozone-platform=wayland" diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 7321491..8ec1b4c 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -2,17 +2,16 @@ # # Executes # -exec-once = waybar exec-once = wlsunset exec-once = hyprpaper - +exec-once = waybar # # Monitor # See https://wiki.hyprland.org/Configuring/Monitors/ # monitor=,preferred,auto,auto monitor=,addreserved,5,15,15,15 - +monitor=desc:Lenovo Group Limited LEN T32p-20 VNA8W4PX,preferred,auto,1.2 # See https://wiki.hyprland.org/Configuring/Keywords/ for more diff --git a/hypr/keymap.conf b/hypr/keymap.conf index 0a36914..1cde8ec 100644 --- a/hypr/keymap.conf +++ b/hypr/keymap.conf @@ -72,9 +72,9 @@ bind=, XF86AudioPrev, exec, playerctl previous # Hardware button mapping # For example powerbutton # - +bind=,XF86PowerOff, exec, wlogout # Laptop lid switch -# bindl=,switch:Lid Switch,exec,swaylock +bindl=,switch:on:Lid Switch,exec,swaylock bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 3000x2000@60,0x0,auto" bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" # Screen brightness diff --git a/hypr/rice.conf b/hypr/rice.conf index eab8d38..e86e2e8 100644 --- a/hypr/rice.conf +++ b/hypr/rice.conf @@ -25,23 +25,23 @@ decoration { # Round corners # rounding = 3 - multisample_edges = true - + # # Opacity # active_opacity = 0.98 inactive_opacity = 0.65 - # # Blur # - blur = true - blur_size = 2 - blur_passes = 2 - blur_new_optimizations = true - - + # + blur { + enabled = true + size = 2 + passes = 2 + } + + # # Shadow # @@ -110,7 +110,7 @@ windowrule = fullscreen, wlogout windowrule = float, title:wlogout windowrule = fullscreen, title:wlogout windowrule = idleinhibit focus, mpv -windowrule = idleinhibit fullscreen, Google-chrome +windowrule = idleinhibit fullscreen, firefox windowrule = float, title:^(Media viewer)$ windowrule = float, title:^(Volume Control)$ windowrule = float, title:^(Picture-in-Picture)$ @@ -118,9 +118,9 @@ windowrule = size 800 600, title:^(Volume Control)$ windowrule = move 39% 420, title:^(Volume Control)$ windowrulev2 = workspace 1, class:^(alacritty)$ -windowrulev2 = workspace 2, class:^(Google-chrome)$ +windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 3, class:^(discord)$ -windowrulev2 = workspace 3, class:^(spotify-qt)$ +windowrulev2 = workspace 3, class:^(Spotify)$ windowrulev2 = workspace 3, class:^(Slack)$ windowrulev2 = workspace special, class:^(thunar)$ windowrulev2 = workspace special, class:^(YouTube Music)$ diff --git a/waybar/config b/waybar/config index a399c5b..1b9626e 100644 --- a/waybar/config +++ b/waybar/config @@ -8,7 +8,7 @@ "height": 34, "modules-left": [ - "wlr/workspaces", + "hyprland/workspaces", ], "modules-center": [ @@ -123,7 +123,7 @@ "max-length": 120 }, - "wlr/workspaces": { + "hyrpland/workspaces": { "format": "{icon}", "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1"