update bindings to use uwsm app

This commit is contained in:
ksyasuda 2025-02-20 12:28:58 -08:00
parent 9a48ea1466
commit ff32a2297a
No known key found for this signature in database
2 changed files with 24 additions and 16 deletions

View File

@ -31,11 +31,11 @@ xwayland {
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hyprland.org/Configuring/Keywords/
# Set programs that you use # Set programs that you use
$terminal = ghostty $terminal = uwsm app -- ghostty
$fileManager = dolphin $fileManager = uwsm app -- dolphin
$menu = rofi -show drun $menu = rofi -show drun -run-command "uwsm app -- {cmd}"
# $notification_daemon = dunst # $notification_daemon = dunst
$notification_daemon = swaync $notification_daemon = uwsm app -- swaync
################# #################
@ -47,11 +47,12 @@ $notification_daemon = swaync
exec-once = $notification_daemon exec-once = $notification_daemon
exec-once = $terminal exec-once = $terminal
exec-once = hyprpm reload -n exec-once = uwsm app -sb -S both -t scope -- hyprpm update -nn
exec-once = nm-applet & exec-once = uwsm app -sb -S both -t scope -- hyprpm reload -nn
exec-once = waybar exec-once = uwsm app -sb -t service -- nm-applet
exec-once = hyprsunset exec-once = uwsm app -sb -t service -- waybar
exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = uwsm app -sb -t service -- hyprsunset
exec-once = uwsm app -sb -t service -- polkit-kde-authentication-agent-1.desktop
############################# #############################

View File

@ -1,8 +1,9 @@
# Set programs that you use # Set programs that you use
$terminal = ghostty $terminal = uwsm app -sa -- ghostty
$fileManager = dolphin $fileManager = uwsm app -sa -- dolphin
# $menu = wofi --show drun # $menu = rofi -show drun
$menu = rofi -show drun # https://github.com/Vladimir-csp/uwsm#2-service-startup-notification-and-vars-set-by-compositor
$menu = rofi -show drun -run-command "uwsm app -- {cmd}"
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = ALT # Sets "Windows" key as main modifier $mainMod = ALT # Sets "Windows" key as main modifier
@ -10,7 +11,7 @@ $mainMod = ALT # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
# bind = $mainMod, M, exex uswm stop, bind = $mainMod, M, exec, uwsm stop,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, d, exec, $menu bind = $mainMod, d, exec, $menu
@ -23,6 +24,12 @@ bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d bind = $mainMod, j, movefocus, d
bind = $mainMod SHIFT, j, movewindow, d
bind = $mainMod SHIFT, k, movewindow, u
bind = $mainMod SHIFT, h, movewindow, l
bind = $mainMod SHIFT, l, movewindow, r
# Move focus to next monitor # Move focus to next monitor
bind = CTRL+ALT, j, focusmonitor, r bind = CTRL+ALT, j, focusmonitor, r
bind = CTRL+ALT, k, focusmonitor, l bind = CTRL+ALT, k, focusmonitor, l
@ -78,7 +85,7 @@ bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous bindl = , XF86AudioPrev, exec, playerctl previous
# rofi # rofi
bind = $mainMod SHIFT, v, exec, rofi-rbw bind = $mainMod SHIFT, v, exec, uwsm app -sb -- rofi-rbw
# ncmcppp # ncmcppp
bind = $mainMod, n, exec, ghostty --command=/usr/bin/ncmpcpp bind = $mainMod, n, exec, uwsm app -sb -- ghostty --command=/usr/bin/ncmpcpp