1
0

more comfy in hyprland

This commit is contained in:
2022-12-21 23:34:28 +01:00
parent c328d4c6a4
commit f506dd42dc
4 changed files with 78 additions and 50 deletions
+55 -25
View File
@@ -2,10 +2,17 @@ $scr_left=DP-2
$scr_right=DP-3
$Mod = SUPER
$launcher = rofi -show drun
$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
$term = kitty
exec-once = waybar -c ~/.config/waybar/hypr-config
exec-once = swaybg -i ~/.cache/wallpaper.jpeg
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = $bar
exec-once = $wallpaper
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = udiskie
exec-once = /usr/lib/kdeconnectd
exec-once = ~/.config/mako/launch.sh
monitor=$scr_left,3840x2160,0x0,1.5
monitor=$scr_right,1920x1080@144,2560x0,1
@@ -30,6 +37,7 @@ general {
col.active_border = $color4 $color0 $color4 45deg
col.inactive_border = $color0
no_border_on_floating = true
no_cursor_warps = true
layout = dwindle
}
@@ -44,6 +52,7 @@ decoration {
drop_shadow = false
}
blurls=waybar
#blurls=notifications
# https://wiki.hyprland.org/Configuring/Animations/
animations {
@@ -69,8 +78,7 @@ dwindle {
misc {
no_vfr = false
enable_swallow = true
swallow_regex = urxvt
focus_on_activate = false
disable_hyprland_logo = true
disable_splash_rendering = true
}
@@ -81,9 +89,10 @@ windowrule = idleinhibit fullscreen, firefox
windowrule = float, imv
windowrule = workspace 3, discord
windowrule = opacity 0.9 0.9, discord
windowrule = workspace 4, steam
windowrule = workspace 4, Steam
windowrule = noborder, ulauncher
windowrule = float, rofi
windowrule = float, Rofi
windowrule = center, Rofi
wsbind=1,$scr_left
wsbind=2,$scr_left
@@ -95,25 +104,40 @@ wsbind=10,$scr_right
# Application Bindings
bind = $Mod, Return, exec, kitty
bind = $Mod, Return, exec, $term
bind = $Mod, A, exec, $term -e cava
bind = $Mod SHIFT, A, exec, $term -e pulsemixer
bind = $Mod, D, exec, $launcher
bind = $Mod SHIFT, D, exec, discord
bind = $Mod SHIFT, D, exec, discord --enable-gpu-rasterization
bind = $Mod CTRL, D, exec, dolphin
bind = $Mod SHIFT, E, exec, steam
bind = $Mod, E, exec, kitty -e ranger
bind = $Mod, I, exec, kitty -e btop
bind = $Mod, E, exec, $term -e ranger
bind = $Mod, I, exec, $term -e btop
bind = $Mod, M, exec, spotify
bind = $Mod, P, exec, pass clip -r
bind = $Mod SHIFT, T, exec, teams
bind = $Mod SHIFT, W, exec, firefox
# Spotify control
bind = $Mod ALT, L, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
bind = $Mod ALT, H, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bind = $Mod CTRL, Space, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bind = $Mod ALT, Space, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
# Control bindings
bind = $Mod, P, pseudo,
bind = $Mod, O, togglesplit,
bind = $Mod, V, togglesplit,
bind = $Mod SHIFT, V, togglegroup,
bind = $Mod, F, fullscreen,
bind = $Mod, Space, togglefloating,
bind = $Mod, Q, killactive,
bind = $Mod SHIFT, Backspace, exit,
bind = $Mod, O, exec, ~/.scripts/wallpaper; $bar
bind = $Mod SHIFT, O, exec, ~/.scripts/wallpaper-upload
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
bind = CTRL, Print, exec, grim -g "$(slurp)" ~/screenshot.png
bind = CTRL, Print, exec, grim -g "$(slurp)" ~/screenshot.png && notify-send -i ~/screenshot.png "Screenshot saved"
bindr = SHIFT, Print, exec, killall -s SIGINT wf-recorder || $record
bind = $Mod, h, movefocus, l
bind = $Mod, l, movefocus, r
@@ -128,7 +152,9 @@ binde = $Mod CTRL, h, resizeactive, -20 0
binde = $Mod CTRL, l, resizeactive, 20 0
binde = $Mod CTRL, k, resizeactive, 0 -20
binde = $Mod CTRL, j, resizeactive, 0 20
bind = $Mod, C, splitratio, 0.5
bind = $Mod CTRL SHIFT, h, movecurrentworkspacetomonitor, $scr_left
bind = $Mod CTRL SHIFT, l, movecurrentworkspacetomonitor, $scr_right
bind = $Mod, 1, workspace, 1
bind = $Mod, 2, workspace, 2
@@ -141,16 +167,20 @@ bind = $Mod, 8, workspace, 8
bind = $Mod, 9, workspace, 9
bind = $Mod, 0, workspace, 10
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
bind = $Mod SHIFT, 0, movetoworkspace, 10
bind = $Mod SHIFT, 1, movetoworkspacesilent, 1
bind = $Mod SHIFT, 2, movetoworkspacesilent, 2
bind = $Mod SHIFT, 3, movetoworkspacesilent, 3
bind = $Mod SHIFT, 4, movetoworkspacesilent, 4
bind = $Mod SHIFT, 5, movetoworkspacesilent, 5
bind = $Mod SHIFT, 6, movetoworkspacesilent, 6
bind = $Mod SHIFT, 7, movetoworkspacesilent, 7
bind = $Mod SHIFT, 8, movetoworkspacesilent, 8
bind = $Mod SHIFT, 9, movetoworkspacesilent, 9
bind = $Mod SHIFT, 0, movetoworkspacesilent, 10
bind = $Mod, minus, togglespecialworkspace
bind = $Mod SHIFT, minus, movetoworkspace, special
bindm = $Mod, mouse:272, movewindow #LMB
bindm = $Mod, mouse:273, resizewindow #RMB