diff --git a/config/hypr/bindings.conf b/config/hypr/bindings.conf index 197215b..0903791 100644 --- a/config/hypr/bindings.conf +++ b/config/hypr/bindings.conf @@ -2,12 +2,9 @@ source = ./bindings/media.conf source = ./bindings/tiling.conf source = ./bindings/utilities.conf -## Tiling -# -#bindd = SUPER SHIFT, left, Swap window to the left, swapwindow, l -#bindd = SUPER SHIFT, right, Swap window to the right, swapwindow, r -#bindd = SUPER SHIFT, up, Swap window up, swapwindow, u -#bindd = SUPER SHIFT, down, Swap window down, swapwindow, d +# Lid Switch +#bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor eDP-1, disable +#bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor eDP-1, preferred, auto, auto # Applications @@ -15,17 +12,20 @@ source = ./bindings/utilities.conf $mainMod = SUPER # Sets "Windows" key as main modifier bindd = $mainMod, B, Launch Browser, exec, firefox -bindd = $mainMod SHIFT, B, Launch Browser (Private window), exec, flatpak run app.zen_browser.zen --private-window +bindd = $mainMod SHIFT, B, Launch Browser (Private window), exec, firefox --private-window bindd = $mainMod, M, Spotify, exec, flatpak run com.spotify.Client bindd = $mainMod, T, System Monitor, exec, $terminal btop bindd = $mainMod, U, Todoist, exec, todoist bindd = $mainMod, I, Notion, exec, notion-app +bindd = $mainMod, O, Obsidian, exec, obsidian bindd = $mainMod, G, Telegram, exec, Telegram -bindd = $mainMod SHIFT, G, Signal, exec, signal-desktop +bindd = $mainMod SHIFT, G, Signal, exec, signal-desktop --password-store="gnome-libsecret" bindd = $mainMod, F, WhatsApp, exec, omarchy-launch-webapp https://web.whatsapp.com +bindd = $mainMod SHIFT, F, Element, exec, element-desktop --password-store="gnome-libsecret" bindd = $mainMod, A, Gemini, exec, omarchy-launch-webapp https://gemini.google.com bindd = $mainMod SHIFT, A, Perplexity, exec, omarchy-launch-webapp https://perplexity.ai bindd = $mainMod, H, Home Assistant, exec, omarchy-launch-webapp https://ha.vektron.casa +bindd = $mainMod, S, Audio Settings, exec, $terminal wiremix --tab configuration bind = $mainMod, return, exec, $terminal bind = $mainMod, Q, killactive, diff --git a/config/hypr/bindings/tiling.conf b/config/hypr/bindings/tiling.conf index a902eea..32506c4 100644 --- a/config/hypr/bindings/tiling.conf +++ b/config/hypr/bindings/tiling.conf @@ -3,13 +3,14 @@ bindd = SUPER, Q, Close active window, killactive, #bindd = CTRL ALT, DELETE, Close all Windows, exec, omarchy-cmd-close-all-windows # Control tiling -bindd = SUPER, J, Toggle split, togglesplit, # dwindle +bindd = SUPER, J, Toggle split, layoutmsg, togglesplit # dwindle bindd = SUPER, P, Pseudo window, pseudo, # dwindle bindd = SUPER, V, Toggle floating, togglefloating, bindd = SHIFT, F11, Force full screen, fullscreen, 0 bindd = ALT, F11, Full width, fullscreen, 1 bindd = SUPER SHIFT, RETURN, Full width, fullscreen, 1 -bindd = SUPER, numbersign, 1:1 split, splitratio, exact 1 +bindd = SUPER, numbersign, 1:1 split, layoutmsg, splitratio -2 +bindd = SUPER, numbersign, 1:1 split, layoutmsg, splitratio 0.9 # Move focus with SUPER + arrow keys bindd = SUPER, left, Move focus left, movefocus, l diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index 7feaafc..934a932 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -1,8 +1,8 @@ general { - lock_cmd = ~/.config/hypr/scripts/lock-screen # lock screen and 1password - before_sleep_cmd = loginctl lock-session # lock before suspend. + lock_cmd = ~/.config/hypr/scripts/lock-screen # lock screen and wait 1s as a crash workaround + before_sleep_cmd = loginctl lock-session # lock before suspend. after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. - inhibit_sleep = 3 # wait until screen is locked + inhibit_sleep = 2 # wait until screen is locked } listener { diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index edf2fc6..7233728 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -1,3 +1,4 @@ +source = ./wallpaper.conf $font = Mononoki Nerd Font general { @@ -23,7 +24,7 @@ animations { background { monitor = - path = screenshot + path = $wallpaper blur_passes = 4 brightness = 0.68 vibrancy = 0.18 diff --git a/config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf index 0530a17..c5d2258 100644 --- a/config/hypr/hyprpaper.conf +++ b/config/hypr/hyprpaper.conf @@ -1,6 +1,9 @@ +source = ./wallpaper.conf + wallpaper { monitor = - path = /home/vektron/Bilder/wallpaper/omarchy/3-Milad-Fakurian-Abstract-Purple-Blue.jpg + #path = /home/vektron/Bilder/wallpaper/omarchy/3-Milad-Fakurian-Abstract-Purple-Blue.jpg + path = $wallpaper fit_mode = cover } diff --git a/config/hypr/scripts/lock-screen b/config/hypr/scripts/lock-screen index cd16410..a0a2364 100755 --- a/config/hypr/scripts/lock-screen +++ b/config/hypr/scripts/lock-screen @@ -1,4 +1,4 @@ #!/bin/bash # Lock the screen -pidof hyprlock || hyprlock & +pidof hyprlock || hyprlock diff --git a/config/hypr/wallpaper.conf b/config/hypr/wallpaper.conf new file mode 100644 index 0000000..d8c1ab6 --- /dev/null +++ b/config/hypr/wallpaper.conf @@ -0,0 +1,2 @@ +$wallpaper = /home/vektron/Bilder/wallpaper/omarchy/3-Milad-Fakurian-Abstract-Purple-Blue.jpg + diff --git a/config/swaync/style.css b/config/swaync/style.css index 73c2b6e..45b335e 100644 --- a/config/swaync/style.css +++ b/config/swaync/style.css @@ -16,6 +16,7 @@ --notification-icon-size: 64px; --notification-app-icon-size: calc(var(--notification-icon-size) / 3); --notification-group-icon-size: 32px; + --outer-margins: 8px; --border: 1px solid var(--noti-border-color); --border-radius: 8px; --border-radius-center: 0; @@ -81,7 +82,7 @@ notificationwindow, blankwindow, blankwindow { } .notification-row .notification-background { - padding: 6px 12px; + padding: var(--outer-margins); } .notification-row .notification-background .notification { @@ -323,7 +324,7 @@ notificationwindow, blankwindow, blankwindow { .control-center { /* The Control Center which contains the old notifications + widgets */ background: var(--cc-bg); - margin: 8px; + margin: var(--outer-margins); color: var(--text-color); border: var(--border); diff --git a/config/swayosd/style.css b/config/swayosd/style.css index 193834d..7207347 100644 --- a/config/swayosd/style.css +++ b/config/swayosd/style.css @@ -1,6 +1,7 @@ +@define-color theme_fg_color #FFFFFF; + window#osd { background: rgba(26, 27, 38, 0.6); border-radius: 8px; border: 1px solid #33ccff; } -