all repos

dotfiles @ 7c3cc5025043ef8122d0caa4c7615180f40df51d

i use rach linux btw
1 files changed, 9 insertions(+), 17 deletions(-)
hypr: mainly migrate to obsidian
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-12-21 22:39:37 +0200
Parent: bac9a07
M config/hypr/hyprland.conf
···
                1
                1
                 # vim: foldmethod=marker ts=2 sw=2 ft=hyprlang

              
                2
                2
                 monitor=,highres,auto,1

              
                3
                3
                 

              
                4
                
                -# var {{{

              
                
                4
                +# env {{{

              
                5
                5
                 env = XDG_CURRENT_DESKTOP,Hyprland

              
                6
                6
                 env = QT_QPA_PLATFORM,wayland;xcb

              
                7
                7
                 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1

              ···
                10
                10
                 $mod = SUPER

              
                11
                11
                 $terminal = kitty

              
                12
                12
                 $logseq = ~/.local/appimage/logseq.AppImage

              
                13
                
                -$morgen = ~/.local/appimage/morgen.AppImage

              
                
                13
                +$obsidian = obsidian

              
                14
                14
                 $filemanager = pcmanfm

              
                15
                15
                 # }}}

              
                16
                16
                 # auto start {{{

              ···
                23
                23
                 exec-once = ~/.config/hypr/xdg-portal.sh

              
                24
                24
                 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

              
                25
                25
                 exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

              
                26
                
                -exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'

              
                27
                26
                 exec-once = wlsunset -S 10:00 -s 18:00

              
                28
                
                -exec-once = ~/.config/hypr/bat.sh

              
                29
                
                -

              
                30
                
                -exec-once = $logseq

              
                31
                27
                 

              
                32
                28
                 exec-once = ~/code/aw-server-rust/target/release/aw-server

              
                33
                29
                 exec-once = ~/code/awatcher/target/release/awatcher

              
                
                30
                +

              
                
                31
                +exec-once = $obsidian

              
                34
                32
                 # }}}

              
                35
                33
                 # inputs {{{

              
                36
                34
                 input {

              ···
                125
                123
                 }

              
                126
                124
                 # }}}

              
                127
                125
                 # window rules {{{

              
                128
                
                -windowrulev2 = workspace 1, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC)

              
                
                126
                +windowrulev2 = workspace 1, class:(Logseq|obsidian)

              
                129
                127
                 windowrulev2 = workspace 2, class:(firefox|Google-chrome|Brave-browser)

              
                130
                
                -windowrulev2 = workspace 2, title:(Google Chrome)

              
                131
                128
                 windowrulev2 = workspace 3, class:(jetbrains-rider|org.octave.Octave)

              
                132
                
                -windowrulev2 = workspace 4, class:(Insomnium)

              
                
                129
                +windowrulev2 = workspace 4, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC)

              
                133
                130
                 windowrulev2 = workspace 5, class:(discord|org.telegram.desktop|fractal|thunderbird)

              
                134
                
                -windowrulev2 = workspace 6, class:(Logseq|Morgen)

              
                135
                131
                 windowrulev2 = workspace 7, class:(Spotify)

              
                136
                132
                 windowrulev2 = workspace 9, class:(zoom)

              
                137
                133
                 

              
                138
                134
                 windowrulev2 = float, class:(pavucontrol|blueman-manager)

              
                139
                135
                 

              
                140
                
                -# just fixes some annoyence

              
                
                136
                +# just fixes some annoyance

              
                141
                137
                 windowrule = size 900 500, title:(Open File)(.*)$

              
                142
                138
                 windowrule = float, title:(Open File)(.*)$

              
                143
                139
                 windowrule = move center, title:(Open File)(.*)$

              
                144
                
                -

              
                145
                
                -# minecraft speedrunning

              
                146
                
                -windowrulev2 = workspace 8, class:(org.prismlauncher.PrismLauncher)

              
                147
                
                -windowrule = move 777 39,noborder,nodim,noblur,title:^(Minecraft)(.*)(\b1\.16\.1)(.*)$

              
                148
                
                -windowrulev2 = size 350 1041,title:^(Minecraft)(.*)(\b1\.16\.1)(.*)$

              
                149
                140
                 

              
                150
                141
                 # screen sharing

              
                151
                142
                 windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$

              ···
                181
                172
                     bind = $mod SHIFT, e, exec, firefox

              
                182
                173
                     bind = $mod SHIFT, f, exec, $filemanager

              
                183
                174
                     bind = $mod SHIFT, d, exec, $logseq

              
                
                175
                +    bind = $mod SHIFT, c, exec, $obsidian

              
                184
                176
                     bind = $mod SHIFT, a, exec, anki

              
                185
                177
                     bind = $mod SHIFT, s, exec, spotify

              
                186
                178
                     bind = $mod SHIFT, t, exec, telegram-desktop

              ···
                198
                190
                     bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%

              
                199
                191
                     bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-

              
                200
                192
                   # }}}

              
                201
                
                -  # layout spesific {{{

              
                
                193
                +  # layout specific {{{

              
                202
                194
                     bind = $mod, P, pseudo, # dwindle

              
                203
                195
                     bind = $mod ALT, J, togglesplit, # dwindle

              
                204
                196
                   # }}}