mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
hypr: review config
* update some keys * fix windowrule that i broke like eternity ago
This commit is contained in:
parent
c41d196c5e
commit
1445142419
4 changed files with 33 additions and 36 deletions
|
|
@ -11,7 +11,6 @@ $mod = SUPER
|
||||||
$browser = brave
|
$browser = brave
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$notaker = obsidian
|
$notaker = obsidian
|
||||||
$filemanager = pcmanfm
|
|
||||||
# }}}
|
# }}}
|
||||||
# auto start {{{
|
# auto start {{{
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
|
|
@ -116,7 +115,7 @@ gestures {
|
||||||
windowrulev2 = workspace 1, class:(Logseq|obsidian)
|
windowrulev2 = workspace 1, class:(Logseq|obsidian)
|
||||||
windowrulev2 = workspace 2, class:(firefox|Google-chrome|Brave-browser)
|
windowrulev2 = workspace 2, class:(firefox|Google-chrome|Brave-browser)
|
||||||
windowrulev2 = workspace 3, class:(jetbrains-rider|org.octave.Octave)
|
windowrulev2 = workspace 3, class:(jetbrains-rider|org.octave.Octave)
|
||||||
windowrulev2 = workspace 4, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC)
|
windowrulev2 = workspace 4, class:(KeePassXC|Insomnium)
|
||||||
windowrulev2 = workspace 5, class:(discord|org.telegram.desktop|fractal|thunderbird)
|
windowrulev2 = workspace 5, class:(discord|org.telegram.desktop|fractal|thunderbird)
|
||||||
windowrulev2 = workspace 7, class:(Spotify)
|
windowrulev2 = workspace 7, class:(Spotify)
|
||||||
windowrulev2 = workspace 9, class:(zoom)
|
windowrulev2 = workspace 9, class:(zoom)
|
||||||
|
|
@ -124,7 +123,7 @@ windowrulev2 = workspace 9, class:(zoom)
|
||||||
windowrulev2 = float, class:(pavucontrol|blueman-manager)
|
windowrulev2 = float, class:(pavucontrol|blueman-manager)
|
||||||
|
|
||||||
# just fixes some annoyance
|
# just fixes some annoyance
|
||||||
windowrule = size 900 500, title:(Open File)(.*)$
|
windowrule = size 700 400, title:(Open File)(.*)$
|
||||||
windowrule = float, title:(Open File)(.*)$
|
windowrule = float, title:(Open File)(.*)$
|
||||||
windowrule = move center, title:(Open File)(.*)$
|
windowrule = move center, title:(Open File)(.*)$
|
||||||
|
|
||||||
|
|
@ -156,23 +155,24 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
||||||
bind = , SHIFT Print, exec, hyprshot -m output
|
bind = , SHIFT Print, exec, hyprshot -m output
|
||||||
|
|
||||||
# programs {{{
|
# programs {{{
|
||||||
|
bind = $mod, comma, exec, wofi-emoji
|
||||||
|
|
||||||
bind = $mod SHIFT, a, exec, anki
|
bind = $mod SHIFT, a, exec, anki
|
||||||
bind = $mod SHIFT, d, exec, $notaker
|
bind = $mod SHIFT, d, exec, $notaker
|
||||||
bind = $mod SHIFT, e, exec, wofi-emoji
|
bind = $mod SHIFT, f, exec, newsflash
|
||||||
bind = $mod SHIFT, f, exec, $filemanager
|
|
||||||
bind = $mod SHIFT, s, exec, spotify
|
bind = $mod SHIFT, s, exec, spotify
|
||||||
bind = $mod SHIFT, t, exec, telegram-desktop
|
bind = $mod SHIFT, t, exec, telegram-desktop
|
||||||
bind = $mod SHIFT, w, exec, $browser
|
bind = $mod SHIFT, w, exec, $browser
|
||||||
# }}}
|
# }}}
|
||||||
# sound {{{
|
# function keys {{{
|
||||||
bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
|
bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
bindl = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
|
bindl = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioNext, exec, playerctl next
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
# }}}
|
|
||||||
# brightness {{{
|
# brightness
|
||||||
bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||||
bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
# }}}
|
# }}}
|
||||||
|
|
@ -186,11 +186,11 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
||||||
bind = $mod, k, movefocus, u
|
bind = $mod, k, movefocus, u
|
||||||
bind = $mod, l, movefocus, r
|
bind = $mod, l, movefocus, r
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with $mod + scroll
|
||||||
bind = $mod, mouse_down, workspace, e-1
|
bind = $mod, mouse_down, workspace, e-1
|
||||||
bind = $mod, mouse_up, workspace, e+1
|
bind = $mod, mouse_up, workspace, e+1
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with $mod + LMB/RMB and dragging
|
||||||
bindm = $mod, mouse:272, movewindow
|
bindm = $mod, mouse:272, movewindow
|
||||||
bindm = $mod, mouse:273, resizewindow
|
bindm = $mod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
|
@ -204,7 +204,7 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
||||||
bind = $mod SHIFT, k, movewindow, u
|
bind = $mod SHIFT, k, movewindow, u
|
||||||
bind = $mod SHIFT, j, movewindow, d
|
bind = $mod SHIFT, j, movewindow, d
|
||||||
|
|
||||||
# workspaces {{{
|
# workspaces
|
||||||
bind = $mod, 1, workspace, 1
|
bind = $mod, 1, workspace, 1
|
||||||
bind = $mod, 2, workspace, 2
|
bind = $mod, 2, workspace, 2
|
||||||
bind = $mod, 3, workspace, 3
|
bind = $mod, 3, workspace, 3
|
||||||
|
|
@ -226,4 +226,3 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
||||||
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
|
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
|
||||||
# }}}
|
# }}}
|
||||||
# }}}
|
# }}}
|
||||||
# }}}
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
quotePath = false
|
quotePath = false
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = "main"
|
defaultBranch = main
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
push-force = push --force-with-lease
|
push-force = push --force-with-lease
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: foldmethod=marker ts=2 sw=2
|
# vim: foldmethod=marker ts=2 sw=2 ft=tmux
|
||||||
# general {{{
|
# general {{{
|
||||||
# i need my cute colors
|
# i need my cute colors
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "screen-256color"
|
||||||
|
|
@ -31,7 +31,7 @@ unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
bind-key C-a send-prefix
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
# some life-improvments
|
# some life improvements
|
||||||
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'
|
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'
|
||||||
bind Tab last-window
|
bind Tab last-window
|
||||||
|
|
||||||
|
|
|
||||||
4
zshrc
4
zshrc
|
|
@ -23,9 +23,7 @@ bindkey -M vicmd "k" down-line-or-beginning-search
|
||||||
alias cls="clear" cp="cp -r" mkdir="mkdir -p"
|
alias cls="clear" cp="cp -r" mkdir="mkdir -p"
|
||||||
alias gor="go run" gob="go build" gog="go get"
|
alias gor="go run" gob="go build" gog="go get"
|
||||||
alias ...="cd ../.." .3="cd ../../.."
|
alias ...="cd ../.." .3="cd ../../.."
|
||||||
alias v="nvim" vim="v" vi="vim"
|
alias vim="nvim" vi="vim" e="vim"
|
||||||
alias sdki=". $HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
alias asdfi=". $HOME/.asdf/asdf.sh"
|
|
||||||
|
|
||||||
if [[ -f "/bin/exa" ]]; then
|
if [[ -f "/bin/exa" ]]; then
|
||||||
alias ls="exa -l" ll="ls" la="ls -a"
|
alias ls="exa -l" ll="ls" la="ls -a"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue