hyprland config update
This commit is contained in:
+40
-21
@@ -1,7 +1,9 @@
|
||||
$scr_left=DP-2
|
||||
$scr_right=DP-3
|
||||
$scr_port=HDMI-A-1
|
||||
$Mod = SUPER
|
||||
$launcher = rofi -show drun
|
||||
# $launcher = rofi -show drun
|
||||
$launcher = bemenu-run
|
||||
$record = wf-recorder -g "$(slurp)" -f ~/screenshots/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4")
|
||||
$bar = waybar -c ~/.config/waybar/hypr-config
|
||||
$wallpaper = swaybg -m fill -i ~/.cache/wallpaper.jpeg
|
||||
@@ -15,11 +17,24 @@ exec-once = /usr/lib/kdeconnectd
|
||||
exec-once = ~/.config/mako/launch.sh
|
||||
exec-once = swayidle -w timeout 300 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||
|
||||
monitor=$scr_left,3840x2160,0x0,1.5
|
||||
monitor=$scr_right,1920x1080@144,2560x0,1
|
||||
monitor=,preferred,auto,1
|
||||
workspace=$scr_left,2
|
||||
workspace=$scr_right,3
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
|
||||
#monitor=$scr_left,2560x1440@60,0x0,1
|
||||
#monitor=$scr_right,1920x1080@144,2560x0,1
|
||||
#monitor=$scr_port,1920x1080@60,4480x0,1
|
||||
#,transform,1
|
||||
#monitor=,preferred,auto,1
|
||||
|
||||
workspace=1,monitor:$scr_left
|
||||
workspace=2,monitor:$scr_left,default:true
|
||||
workspace=3,monitor:$scr_right,default:true
|
||||
workspace=4,monitor:$scr_left
|
||||
workspace=6,monitor:$scr_port
|
||||
workspace=7,monitor:$scr_right
|
||||
workspace=9,monitor:$scr_left
|
||||
workspace=10,monitor:$scr_right
|
||||
|
||||
exec-once = ~/.scripts/monitor 0
|
||||
|
||||
source = ~/.cache/wal/hypr-colors.conf
|
||||
|
||||
@@ -82,26 +97,23 @@ misc {
|
||||
focus_on_activate = true
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
vfr = false
|
||||
}
|
||||
|
||||
# Window rules and bindings
|
||||
windowrule = idleinhibit focus, mpv
|
||||
windowrule = idleinhibit fullscreen, firefox
|
||||
windowrule = float, imv
|
||||
windowrule = rounding 0, imv
|
||||
windowrule = workspace 3 silent, discord
|
||||
windowrule = opacity 0.9 0.9, discord
|
||||
windowrule = workspace 4 silent, Steam
|
||||
windowrule = workspace 4 silent, steam
|
||||
windowrule = workspace 4 silent, title:None
|
||||
windowrule = float, Rofi
|
||||
windowrule = center, Rofi
|
||||
windowrule = nomaxsize, winecfg.exe
|
||||
windowrule = rounding 0, pinned:1
|
||||
|
||||
wsbind=1,$scr_left
|
||||
wsbind=2,$scr_left
|
||||
wsbind=3,$scr_right
|
||||
wsbind=4,$scr_left
|
||||
wsbind=7,$scr_right
|
||||
wsbind=9,$scr_left
|
||||
wsbind=10,$scr_right
|
||||
|
||||
|
||||
# Application Bindings
|
||||
@@ -112,13 +124,15 @@ bind = $Mod, D, exec, $launcher
|
||||
bind = $Mod SHIFT, D, exec, discord --enable-gpu-rasterization --ozone-platform-hint=auto
|
||||
bind = $Mod CTRL, D, exec, dolphin
|
||||
bind = $Mod SHIFT, E, exec, steam
|
||||
bind = $Mod, E, exec, $term -e ranger
|
||||
bind = $Mod, E, exec, thunar
|
||||
bind = $Mod, I, exec, $term -e btop
|
||||
bind = $Mod, M, exec, pgrep spotifyd || spotifyd
|
||||
bind = $Mod, M, exec, $term -e spt
|
||||
bind = $Mod, P, exec, pass clip -r
|
||||
bind = $Mod, T, exec, killall -9 mpv || mpv rtmp://dibella/live/stream
|
||||
bind = $Mod SHIFT, T, exec, teams
|
||||
bind = $Mod SHIFT, W, exec, firefox
|
||||
bind = $Mod CTRL SHIFT, W, exec, firefox -P Shinobi
|
||||
|
||||
# Spotify control
|
||||
bind = $Mod ALT, L, exec, ~/.scripts/mpris.sh next
|
||||
@@ -126,19 +140,21 @@ bind = $Mod ALT, H, exec, ~/.scripts/mpris.sh previous
|
||||
bind = $Mod ALT, Space, exec, ~/.scripts/mpris.sh play-pause
|
||||
|
||||
# Control bindings
|
||||
bind = $Mod, V, togglesplit,
|
||||
bind = $Mod SHIFT, V, togglegroup,
|
||||
bind = $Mod, F, fullscreen,
|
||||
bind = $Mod, V, togglesplit
|
||||
bind = $Mod SHIFT, V, togglegroup
|
||||
bind = $Mod, F, fullscreen
|
||||
bind = $Mod SHIFT, F, fullscreen, 1
|
||||
bind = $Mod, Space, togglefloating,
|
||||
bind = $Mod, Q, killactive,
|
||||
bind = $Mod, Space, togglefloating
|
||||
bind = $Mod SHIFT, Space, pin
|
||||
bind = $Mod, Q, killactive
|
||||
bind = $Mod SHIFT, Backspace, exec, swaylock -f -C ~/.cache/wal/swaylock
|
||||
bind = $Mod SHIFT CTRL, Backspace, exit
|
||||
|
||||
bind = $Mod, O, exec, ~/.scripts/wallpaper; $bar
|
||||
bind = $Mod SHIFT, O, exec, ~/.scripts/wallpaper-upload
|
||||
bind = $Mod, B, exec, killall -9 waybar; $bar
|
||||
bind = $Mod SHIFT, X, exec, sleep 1 && hyprctl dispatch dpms off && sleep 1 && hyprctl dispatch dpms on
|
||||
bind = $Mod SHIFT, X, exec, hyprctl dispatch dpms off
|
||||
bind = $Mod, X, exec, sleep 1 && hyprctl dispatch dpms off && sleep 1 && hyprctl dispatch dpms on
|
||||
|
||||
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = CTRL, Print, exec, grim -g "$(slurp)" ~/screenshot.png && notify-send -i ~/screenshot.png "Screenshot saved"
|
||||
@@ -184,6 +200,9 @@ bind = $Mod SHIFT, 8, movetoworkspacesilent, 8
|
||||
bind = $Mod SHIFT, 9, movetoworkspacesilent, 9
|
||||
bind = $Mod SHIFT, 0, movetoworkspacesilent, 10
|
||||
|
||||
bind = $Mod SHIFT, F1, exec, ~/.scripts/monitor 0
|
||||
bind = $Mod SHIFT, F2, exec, ~/.scripts/monitor 1
|
||||
|
||||
|
||||
bind = $Mod, minus, togglespecialworkspace
|
||||
bind = $Mod SHIFT, minus, movetoworkspace, special
|
||||
|
||||
Reference in New Issue
Block a user