mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
some updates
* hyprland: touchpad works correctly when switching workspaces, add screen shareing support, update windowrules * dunst: just rewrote all config * waybar: update clock, pulseaudio, and network modules, change color on activce workspace
This commit is contained in:
parent
e87d92384c
commit
e8159232c1
5 changed files with 169 additions and 90 deletions
|
|
@ -1,8 +1,4 @@
|
|||
# vim: foldmethod=marker ts=2 sw=2
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/
|
||||
# https://wiki.hyprland.org/Configuring/Monitors/
|
||||
|
||||
monitor=,highres,auto,1
|
||||
|
||||
## variables {{{
|
||||
|
|
@ -16,6 +12,8 @@ exec-once = dunst &
|
|||
exec-once = gsettings set org.gnome.desktop.interface font-name 'JetBrainsMono Nerd Font' &
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = blueman-applet
|
||||
exec-once = ~/.config/hypr/xdg-portal.sh
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
# }}}
|
||||
## inputs {{{
|
||||
input {
|
||||
|
|
@ -26,10 +24,13 @@ input {
|
|||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
sensitivity = 0.4 # -1.0 - 1.0, 0 means no modification.
|
||||
sensitivity = 0.4 # -1.0 - 1.0, 0 means no modification
|
||||
|
||||
touchpad {
|
||||
middle_button_emulation = true
|
||||
middle_button_emulation = true
|
||||
natural_scroll = false
|
||||
scroll_factor = 0.4
|
||||
clickfinger_behavior = 1
|
||||
}
|
||||
}
|
||||
# }}}
|
||||
|
|
@ -39,7 +40,7 @@ general {
|
|||
gaps_out = 4
|
||||
border_size = 2
|
||||
col.active_border = rgba(7aa2f7aa)
|
||||
col.inactive_border = rgba(414868aa)
|
||||
col.inactive_border = rgba(292e42aa)
|
||||
|
||||
layout = master # dwindle
|
||||
}
|
||||
|
|
@ -96,26 +97,52 @@ misc {
|
|||
# }}}
|
||||
## gestures {{{
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe = true
|
||||
workspace_swipe_invert = false
|
||||
workspace_swipe_create_new = false
|
||||
}
|
||||
# }}}
|
||||
## window rules {{{
|
||||
windowrule = workspace 1, title:(Postman)
|
||||
windowrule = workspace 2, title:(Firefox)
|
||||
windowrule = workspace 3, title:(Rider)
|
||||
windowrule = workspace 4, title:(Logseq|Anki)
|
||||
windowrule = workspace 5, title:(Telegram|Discord)
|
||||
windowrule = workspace 7, title:(Spotify)
|
||||
windowrulev2 = workspace 1, class:(Postman,org.keepassxc.KeePassXC)
|
||||
windowrulev2 = workspace 2, class:(firefox)
|
||||
windowrulev2 = workspace 3, class:(jetbrains-rider|org.octave.Octave)
|
||||
windowrulev2 = workspace 4, class:(Logseq|Anki|Morgen)
|
||||
windowrulev2 = workspace 5, class:(discord|org.telegram.desktop|fractal)
|
||||
windowrulev2 = workspace 7, class:(Spotify)
|
||||
windowrulev2 = workspace 8, class:(org.prismlauncher.PrismLauncher)
|
||||
windowrulev2 = workspace 9, class:(zoom)
|
||||
|
||||
windowrulev2 = float, class:(pavucontrol)
|
||||
|
||||
# screen sharing
|
||||
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||
# }}}
|
||||
## keymaps {{{
|
||||
bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images
|
||||
bind = Alt Ctrl, t, exec, $terminal
|
||||
bind = $mod, Return, exec, $terminal
|
||||
bind = $mod, q, killactive
|
||||
bind = $mod SHIFT, Escape, exit
|
||||
bind = $mod, f, togglefloating,
|
||||
bind = ,Print,exec,grim
|
||||
bind = $mod ALT, r, exec, hyprctl reload
|
||||
|
||||
bind = $mod SHIFT, Return, exec, wofi --show drun --allow-images
|
||||
bind = $mod SHIFT, Escape, exec, ~/bin/wofi-power-menu
|
||||
|
||||
bind = $mod, q, killactive
|
||||
bind = Alt, f4, killactive
|
||||
|
||||
bind = $mod, f, fullscreen
|
||||
bind = $mod Ctrl, f, togglefloating
|
||||
bind = , Print, exec, grim -g "$(slurp)"
|
||||
|
||||
## programs {{{
|
||||
bind = $mod SHIFT, w, exec, firefox
|
||||
bind = $mod SHIFT, f, exec, nautilus
|
||||
bind = $mod SHIFT, d, exec, ~/.local/appimage/logseq.AppImage
|
||||
bind = $mod SHIFT, a, exec, anki
|
||||
bind = $mod SHIFT, s, exec, spotify
|
||||
bind = $mod SHIFT, t, exec, telegram-desktop
|
||||
bind = $mod SHIFT, c, exec, morgen
|
||||
## }}}
|
||||
## sound {{{
|
||||
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%-
|
||||
|
|
@ -128,10 +155,6 @@ windowrule = workspace 7, title:(Spotify)
|
|||
bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||
bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||
## }}}
|
||||
## programs {{{
|
||||
bind = $mod SHIFT, w, exec, firefox
|
||||
bind = $mod SHIFT, f, exec, nautlius
|
||||
## }}}
|
||||
## layout spesific {{{
|
||||
bind = $mod, P, pseudo, # dwindle
|
||||
bind = $mod, J, togglesplit, # dwindle
|
||||
|
|
@ -143,33 +166,38 @@ windowrule = workspace 7, title:(Spotify)
|
|||
bind = $mod, l, movefocus, r
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mod, mouse_down, workspace, e+1
|
||||
bind = $mod, mouse_up, workspace, e-1
|
||||
bind = $mod, mouse_down, workspace, e-1
|
||||
bind = $mod, mouse_up, workspace, e+1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
bindm = $mod, mouse:273, resizewindow
|
||||
|
||||
## workspaces {{{
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
bind = $mod, 4, workspace, 4
|
||||
bind = $mod, 5, workspace, 5
|
||||
bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
bind = $mod Alt, h, resizeactive, -20 0
|
||||
bind = $mod Alt, l, resizeactive, 20 0
|
||||
bind = $mod Alt, j, resizeactive, 0 20
|
||||
bind = $mod Alt, k, resizeactive, 0 -20
|
||||
|
||||
bind = $mod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspace, 9
|
||||
# }}}
|
||||
## workspaces {{{
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
bind = $mod, 4, workspace, 4
|
||||
bind = $mod, 5, workspace, 5
|
||||
bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
|
||||
bind = $mod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspace, 9
|
||||
# }}}
|
||||
# }}}
|
||||
# }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue