update and reorganize hyprland config

This commit is contained in:
2025-07-02 16:16:20 +02:00
parent 0146722b87
commit 4d93d8eca9

View File

@@ -19,8 +19,13 @@ monitor=eDP-1,1920x1200,auto,1.25
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Default applications
$terminal = ghostty
$fileManager = nautilus --new-window
$browser = firefox
$messenger = Telegram
# Execute your favorite apps at launch
#exec-once = uwsm app -- hyprlock
exec-once = uwsm app -- waybar
# select a random wallpaper
exec-once = uwsm app -- uwsm app -- waypaper --state-file ~/.config/waypaper/state.ini --folder ~/.config/hypr/wallpapers --restore
@@ -145,19 +150,18 @@ source = ~/.config/hypr/shaders/shader.conf
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, uwsm app -- ghostty
bind = $mainMod SHIFT, Q, exec, uwsm app -- ghostty --theme=BlueBerryPie --background-opacity=0.9 --initial-command="zsh -c 'ssh ctf-vm'"
bind = $mainMod, C, killactive,
bind = $mainMod, M, exec, uwsm stop
bind = $mainMod, E, exec, uwsm app -- nemo
bind = $mainMod, W, exec, uwsm app -- firefox
bind = $mainMod, Q, exec, uwsm app -- $terminal
bind = $mainMod SHIFT, Q, exec, uwsm app -- $terminal --theme=BlueBerryPie --background-opacity=0.9 --initial-command="zsh -c 'ssh ctf-vm'"
bind = $mainMod, M, exec, uwsm app -- $messenger
bind = $mainMod, E, exec, uwsm app -- $fileManager
bind = $mainMod, W, exec, uwsm app -- $browser
bind = $mainMod SHIFT, W, exec, uwsm app -- waypaper --state-file ~/.config/waypaper/state.ini --folder ~/.config/hypr/wallpapers
bind = $mainMod, T, togglefloating,
bind = $mainMod, S, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim $IMG && wl-copy < $IMG' # screenshot
bind = $mainMod SHIFT, S, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim -g "$(slurp)" $IMG && wl-copy < $IMG' # screenshot only a part of the screen
bind = $mainMod, R, exec, uwsm app -- rofi -run-command='uwsm app -- {cmd}' -show drun -show-icons
bind = $mainMod, C, killactive,
bind = $mainMod, T, togglefloating,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen,
# Move focus with mainMod + arrow keys
@@ -209,7 +213,7 @@ bindm = SUPERALT, mouse:272, resizewindow
source = ~/.config/hypr/fn_keys.conf
# resize windows
binde = $mainMod SHIFT, right, resizeactive, 10 0
binde = $mainMod SHIFT, left, resizeactive, -10 0
binde = $mainMod SHIFT, up, resizeactive, 0 -10
binde = $mainMod SHIFT, down, resizeactive, 0 10
binde = $mainMod SHIFT, l, resizeactive, 10 0
binde = $mainMod SHIFT, h, resizeactive, -10 0
binde = $mainMod SHIFT, k, resizeactive, 0 -10
binde = $mainMod SHIFT, j, resizeactive, 0 10