From 7c3cc5025043ef8122d0caa4c7615180f40df51d Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Sat, 21 Dec 2024 22:39:37 +0200 Subject: [PATCH] hypr: mainly migrate to obsidian --- config/hypr/hyprland.conf | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 876e34c..8192e13 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -1,7 +1,7 @@ # vim: foldmethod=marker ts=2 sw=2 ft=hyprlang monitor=,highres,auto,1 -# var {{{ +# env {{{ env = XDG_CURRENT_DESKTOP,Hyprland env = QT_QPA_PLATFORM,wayland;xcb env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 @@ -10,7 +10,7 @@ env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 $mod = SUPER $terminal = kitty $logseq = ~/.local/appimage/logseq.AppImage -$morgen = ~/.local/appimage/morgen.AppImage +$obsidian = obsidian $filemanager = pcmanfm # }}} # auto start {{{ @@ -23,14 +23,12 @@ exec-once = blueman-applet exec-once = ~/.config/hypr/xdg-portal.sh exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' exec-once = wlsunset -S 10:00 -s 18:00 -exec-once = ~/.config/hypr/bat.sh - -exec-once = $logseq exec-once = ~/code/aw-server-rust/target/release/aw-server exec-once = ~/code/awatcher/target/release/awatcher + +exec-once = $obsidian # }}} # inputs {{{ input { @@ -125,28 +123,21 @@ gestures { } # }}} # window rules {{{ -windowrulev2 = workspace 1, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC) +windowrulev2 = workspace 1, class:(Logseq|obsidian) windowrulev2 = workspace 2, class:(firefox|Google-chrome|Brave-browser) -windowrulev2 = workspace 2, title:(Google Chrome) windowrulev2 = workspace 3, class:(jetbrains-rider|org.octave.Octave) -windowrulev2 = workspace 4, class:(Insomnium) +windowrulev2 = workspace 4, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC) windowrulev2 = workspace 5, class:(discord|org.telegram.desktop|fractal|thunderbird) -windowrulev2 = workspace 6, class:(Logseq|Morgen) windowrulev2 = workspace 7, class:(Spotify) windowrulev2 = workspace 9, class:(zoom) windowrulev2 = float, class:(pavucontrol|blueman-manager) -# just fixes some annoyence +# just fixes some annoyance windowrule = size 900 500, title:(Open File)(.*)$ windowrule = float, title:(Open File)(.*)$ windowrule = move center, title:(Open File)(.*)$ -# minecraft speedrunning -windowrulev2 = workspace 8, class:(org.prismlauncher.PrismLauncher) -windowrule = move 777 39,noborder,nodim,noblur,title:^(Minecraft)(.*)(\b1\.16\.1)(.*)$ -windowrulev2 = size 350 1041,title:^(Minecraft)(.*)(\b1\.16\.1)(.*)$ - # screen sharing windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ @@ -181,6 +172,7 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1] bind = $mod SHIFT, e, exec, firefox bind = $mod SHIFT, f, exec, $filemanager bind = $mod SHIFT, d, exec, $logseq + bind = $mod SHIFT, c, exec, $obsidian bind = $mod SHIFT, a, exec, anki bind = $mod SHIFT, s, exec, spotify bind = $mod SHIFT, t, exec, telegram-desktop @@ -198,7 +190,7 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1] bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5% bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%- # }}} - # layout spesific {{{ + # layout specific {{{ bind = $mod, P, pseudo, # dwindle bind = $mod ALT, J, togglesplit, # dwindle # }}}