update laptop config

This commit is contained in:
sudacode 2025-03-18 01:00:39 -07:00
parent bd53460b14
commit eb99ddd3f4
2 changed files with 18 additions and 5 deletions

View File

@ -44,16 +44,18 @@ $notification_daemon = uwsm app -- swaync
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = uwsm app -sb -- hyprpm update -nn
exec-once = uwsm app -sb -- hyprpm reload -nn
exec-once = $notification_daemon
exec-once = $terminal
exec-once = uwsm app -sb -S both -t scope -- hyprpm update -nn
exec-once = uwsm app -sb -S both -t scope -- hyprpm reload -nn
exec-once = uwsm app -sb -t service -- nm-applet
exec-once = uwsm app -sb -t service -- waybar
exec-once = uwsm app -sb -t service -- hyprsunset
exec-once = uwsm app -sb -t service -- polkit-kde-authentication-agent-1.desktop
exec-once = uwsm app -sb -t service -- variety
exec-once = uwsm app -sb -t service -- fcitx5
exec-once = waybar -c $HOME/.config/waybar/catppuccin-macchiato/config-battery.jsonc -s $HOME/.config/waybar/catppuccin-macchiato/style.css
#############################
@ -76,7 +78,7 @@ exec-once = uwsm app -sb -t service -- fcitx5
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 5
gaps_out = 20
gaps_out = 8
border_size = 2

View File

@ -11,13 +11,14 @@ $mainMod = ALT # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exec, uwsm stop,
bind = $mainMod, M, exec, uwsm stop
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, d, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, t, togglesplit, # dwindle
bind = $mainMod, f, fullscreen,
bind = $mainMod, i, swapactiveworkspaces, DP-1 DP-3
# Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l
@ -91,11 +92,16 @@ bind = $mainMod SHIFT, v, exec, uwsm app -sb -- rofi-rbw
# ncmcppp
bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp
# notifications
bind = $mainMod SHIFT, n, exec, swaync-client -t
# mpv add
bind = SUPER, m, exec, ~/.local/bin/mpv-add.sh
bind = SUPER SHIFT, s, exec, slurp | grim -g - - | wl-copy
bind = ,code:107, exec, grim -g "$(slurp)" "$HOME/Pictures/$(date +'%s_grim.png')"
bind = SUPER SHIFT, s, exec, ~/.local/bin/screenshot.sh
bind = ,code:107, exec, ~/.local/bin/screenshot.sh
bind = SUPER SHIFT, o, exec, ~/.local/bin/ocr.sh
bind = $mainMod, o, exec, ~/.local/bin/ocr.sh
# change wallpaper
bind = $mainMod CTRL, n, exec, ~/.local/bin/change-wallpaper.sh
@ -103,3 +109,8 @@ bind = $mainMod CTRL, n, exec, ~/.local/bin/change-wallpaper.sh
# toggle focus between current and last focused window
bind = ALT, Tab, focuscurrentorlast
bind = CTRL, F9, pass, class:^(com\.obsproject\.Studio)$
bind = CTRL, F10, pass, class:^(com\.obsproject\.Studio)$
bind = CTRL SHIFT, D, exec, ~/.local/bin/dragon
bind = CTRL ALT, F, exec, ~/.local/bin/favorite-wallpaper