all repos

dotfiles @ 144514241901027ad4918b08cd269b50c6c90b4f

i use rach linux btw
4 files changed, 33 insertions(+), 36 deletions(-)
hypr: review config

* update some keys
* fix windowrule that i broke like eternity ago
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-04-04 21:44:04 +0300
Authored at: 2025-04-01 01:21:17 +0300
Parent: c41d196
M config/hypr/hyprland.conf
···
        11
        11
         $browser = brave

      
        12
        12
         $terminal = kitty

      
        13
        13
         $notaker = obsidian

      
        14
        
        -$filemanager = pcmanfm

      
        15
        14
         # }}}

      
        16
        15
         # auto start {{{

      
        17
        16
         exec-once = waybar

      ···
        116
        115
         windowrulev2 = workspace 1, class:(Logseq|obsidian)

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

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

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

      
        
        118
        +windowrulev2 = workspace 4, class:(KeePassXC|Insomnium)

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

      
        121
        120
         windowrulev2 = workspace 7, class:(Spotify)

      
        122
        121
         windowrulev2 = workspace 9, class:(zoom)

      ···
        124
        123
         windowrulev2 = float, class:(pavucontrol|blueman-manager)

      
        125
        124
         

      
        126
        125
         # just fixes some annoyance

      
        127
        
        -windowrule = size 900 500, title:(Open File)(.*)$

      
        
        126
        +windowrule = size 700 400, title:(Open File)(.*)$

      
        128
        127
         windowrule = float, title:(Open File)(.*)$

      
        129
        128
         windowrule = move center, title:(Open File)(.*)$

      
        130
        129
         

      ···
        156
        155
           bind = , SHIFT Print, exec, hyprshot -m output

      
        157
        156
         

      
        158
        157
           # programs {{{

      
        
        158
        +    bind = $mod, comma, exec, wofi-emoji

      
        
        159
        +

      
        159
        160
             bind = $mod SHIFT, a, exec, anki

      
        160
        161
             bind = $mod SHIFT, d, exec, $notaker

      
        161
        
        -    bind = $mod SHIFT, e, exec, wofi-emoji

      
        162
        
        -    bind = $mod SHIFT, f, exec, $filemanager

      
        
        162
        +    bind = $mod SHIFT, f, exec, newsflash

      
        163
        163
             bind = $mod SHIFT, s, exec, spotify

      
        164
        164
             bind = $mod SHIFT, t, exec, telegram-desktop

      
        165
        165
             bind = $mod SHIFT, w, exec, $browser

      
        166
        166
           # }}}

      
        167
        
        -  # sound {{{

      
        
        167
        +  # function keys {{{

      
        168
        168
             bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+

      
        169
        169
             bindl = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-

      
        170
        170
             bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle

      
        171
        171
             bindl = , XF86AudioPlay, exec, playerctl play-pause

      
        172
        172
             bindl = , XF86AudioNext, exec, playerctl next

      
        173
        173
             bindl = , XF86AudioPrev, exec, playerctl previous

      
        174
        
        -  # }}}

      
        175
        
        -  # brightness {{{

      
        
        174
        +

      
        
        175
        +    # brightness

      
        176
        176
             bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%

      
        177
        177
             bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-

      
        178
        178
           # }}}

      ···
        186
        186
             bind = $mod, k, movefocus, u

      
        187
        187
             bind = $mod, l, movefocus, r

      
        188
        188
         

      
        189
        
        -    # Scroll through existing workspaces with mainMod + scroll

      
        
        189
        +    # Scroll through existing workspaces with $mod + scroll

      
        190
        190
             bind = $mod, mouse_down, workspace, e-1

      
        191
        191
             bind = $mod, mouse_up, workspace, e+1

      
        192
        192
         

      
        193
        
        -    # Move/resize windows with mainMod + LMB/RMB and dragging

      
        
        193
        +    # Move/resize windows with $mod + LMB/RMB and dragging

      
        194
        194
             bindm = $mod, mouse:272, movewindow

      
        195
        195
             bindm = $mod, mouse:273, resizewindow

      
        196
        196
         

      ···
        204
        204
             bind = $mod SHIFT, k, movewindow, u

      
        205
        205
             bind = $mod SHIFT, j, movewindow, d

      
        206
        206
         

      
        207
        
        -    # workspaces {{{

      
        208
        
        -      bind = $mod, 1, workspace, 1

      
        209
        
        -      bind = $mod, 2, workspace, 2

      
        210
        
        -      bind = $mod, 3, workspace, 3

      
        211
        
        -      bind = $mod, 4, workspace, 4

      
        212
        
        -      bind = $mod, 5, workspace, 5

      
        213
        
        -      bind = $mod, 6, workspace, 6

      
        214
        
        -      bind = $mod, 7, workspace, 7

      
        215
        
        -      bind = $mod, 8, workspace, 8

      
        216
        
        -      bind = $mod, 9, workspace, 9

      
        
        207
        +    # workspaces

      
        
        208
        +    bind = $mod, 1, workspace, 1

      
        
        209
        +    bind = $mod, 2, workspace, 2

      
        
        210
        +    bind = $mod, 3, workspace, 3

      
        
        211
        +    bind = $mod, 4, workspace, 4

      
        
        212
        +    bind = $mod, 5, workspace, 5

      
        
        213
        +    bind = $mod, 6, workspace, 6

      
        
        214
        +    bind = $mod, 7, workspace, 7

      
        
        215
        +    bind = $mod, 8, workspace, 8

      
        
        216
        +    bind = $mod, 9, workspace, 9

      
        217
        217
         

      
        218
        
        -      bind = $mod SHIFT, 1, movetoworkspacesilent, 1

      
        219
        
        -      bind = $mod SHIFT, 2, movetoworkspacesilent, 2

      
        220
        
        -      bind = $mod SHIFT, 3, movetoworkspacesilent, 3

      
        221
        
        -      bind = $mod SHIFT, 4, movetoworkspacesilent, 4

      
        222
        
        -      bind = $mod SHIFT, 5, movetoworkspacesilent, 5

      
        223
        
        -      bind = $mod SHIFT, 6, movetoworkspacesilent, 6

      
        224
        
        -      bind = $mod SHIFT, 7, movetoworkspacesilent, 7

      
        225
        
        -      bind = $mod SHIFT, 8, movetoworkspacesilent, 8

      
        226
        
        -      bind = $mod SHIFT, 9, movetoworkspacesilent, 9

      
        227
        
        -    # }}}

      
        
        218
        +    bind = $mod SHIFT, 1, movetoworkspacesilent, 1

      
        
        219
        +    bind = $mod SHIFT, 2, movetoworkspacesilent, 2

      
        
        220
        +    bind = $mod SHIFT, 3, movetoworkspacesilent, 3

      
        
        221
        +    bind = $mod SHIFT, 4, movetoworkspacesilent, 4

      
        
        222
        +    bind = $mod SHIFT, 5, movetoworkspacesilent, 5

      
        
        223
        +    bind = $mod SHIFT, 6, movetoworkspacesilent, 6

      
        
        224
        +    bind = $mod SHIFT, 7, movetoworkspacesilent, 7

      
        
        225
        +    bind = $mod SHIFT, 8, movetoworkspacesilent, 8

      
        
        226
        +    bind = $mod SHIFT, 9, movetoworkspacesilent, 9

      
        228
        227
           # }}}

      
        229
        228
         # }}}

      
M gitconfig
···
        18
        18
             quotePath = false

      
        19
        19
         

      
        20
        20
         [init]

      
        21
        
        -    defaultBranch = "main"

      
        
        21
        +    defaultBranch = main

      
        22
        22
         

      
        23
        23
         [alias]

      
        24
        24
             push-force = push --force-with-lease

      
M tmux.conf
···
        1
        
        -# vim: foldmethod=marker ts=2 sw=2

      
        
        1
        +# vim: foldmethod=marker ts=2 sw=2 ft=tmux

      
        2
        2
         # general {{{

      
        3
        3
         # i need my cute colors

      
        4
        4
         set -g default-terminal "screen-256color"

      ···
        31
        31
         set -g prefix C-a

      
        32
        32
         bind-key C-a send-prefix

      
        33
        33
         

      
        34
        
        -# some life-improvments

      
        
        34
        +# some life improvements

      
        35
        35
         bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'

      
        36
        36
         bind Tab last-window

      
        37
        37
         

      
M zshrc
···
        23
        23
         alias cls="clear" cp="cp -r" mkdir="mkdir -p"

      
        24
        24
         alias gor="go run" gob="go build" gog="go get"

      
        25
        25
         alias ...="cd ../.." .3="cd ../../.."

      
        26
        
        -alias v="nvim" vim="v" vi="vim"

      
        27
        
        -alias sdki=". $HOME/.sdkman/bin/sdkman-init.sh"

      
        28
        
        -alias asdfi=". $HOME/.asdf/asdf.sh"

      
        
        26
        +alias vim="nvim" vi="vim" e="vim"

      
        29
        27
         

      
        30
        28
         if [[ -f "/bin/exa" ]]; then

      
        31
        29
            alias ls="exa -l" ll="ls" la="ls -a"