[fix] Add hyprland stuff

This commit is contained in:
Uttarayan
2023-06-08 01:15:55 +05:30
parent 8ca6bc912b
commit 0e0f887597
4 changed files with 66 additions and 55 deletions

View File

@@ -4,6 +4,7 @@ $mainModShift = SUPER_SHIFT
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, foot
bind = $mainModShift, Return, exec, wezterm
bind = $mainModShift, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainModShift, f, togglefloating,
@@ -12,7 +13,7 @@ bind = $mainMod, Space, exec, anyrun
bind = $mainMod, p, pseudo, # dwindle
bind = $mainModShift, v, togglesplit, # dwindle
bind = $mainMod, a, exec, swaync-client -t
bind = $mainMod, Tab, cyclenext
# Audio
bind = ,xf86audioraisevolume, exec, swayosd --output-volume raise
bind = ,xf86audiolowervolume, exec, swayosd --output-volume lower
@@ -21,6 +22,9 @@ bind = ,xf86audioprev, exec, /home/fs0c131y/.cargo/bin/mctl prev
bind = ,xf86audionext, exec, /home/fs0c131y/.cargo/bin/mctl next
bind = ,xf86audioplay, exec, /home/fs0c131y/.cargo/bin/mctl toggle
# Screenshot
bind = $mainMod,Print, exec, grim
bind = $mainModShift,Print, exec, grim -g "$(slurp)"
# Move focus with mainMod + arrow keys
@@ -81,3 +85,6 @@ bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# bind = $mainMod, Tab, cyclenext, bind = ALT, Tab, bringactivetotop,

View File

@@ -27,7 +27,10 @@ env = MOZ_ENABLE_WAYLAND,1
exec-once = swayosd
exec-once = hyprpaper
exec-once = swaync
exec-once=/usr/lib/polkit-kde-authentication-agent-1
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = /usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized
exec-once = /usr/lib/kdeconnectd
# exec-once = linux-wallpaperengine --screen-root DP-2 2207659298
# exec-once = linux-wallpaperengine --screen-root DP-3 2207659298
# Source a file (multi-file configs)