hypr: use UWSM (but it actually works)
This commit is contained in:
parent
80e034cbc5
commit
102ac93123
2 changed files with 18 additions and 17 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
programs.hyprland.withUWSM = true;
|
||||||
# Optional, hint electron apps to use wayland:
|
# Optional, hint electron apps to use wayland:
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,17 +13,17 @@ monitor=eDP-1,1920x1080@60,auto,1
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
exec-once = swww-daemon &
|
exec-once = uwsm app -- swww-daemon
|
||||||
exec-once = waybar &
|
exec-once = uwsm app -- waybar
|
||||||
exec-once = swaync &
|
exec-once = uwsm app -- swaync
|
||||||
exec-once = hyprshade auto &
|
exec-once = hyprshade auto
|
||||||
exec-once = walker --gapplication-service
|
exec-once = walker -A
|
||||||
|
|
||||||
exec-once = opensnitch-ui
|
exec-once = uwsm app -- opensnitch-ui
|
||||||
exec-once = systemctl start --user polkit-gnome-authentication-agent-1.service
|
exec-once = systemctl start --user polkit-gnome-authentication-agent-1.service
|
||||||
exec-once = fcitx5 &
|
exec-once = uwsm app -- fcitx5
|
||||||
exec-once = steam -silent &
|
exec-once = uwsm app -- steam -silent
|
||||||
exec-once = 1password --silent &
|
exec-once = uwsm app -- 1password --silent
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
|
@ -165,18 +165,18 @@ device {
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
$mainMod = SUPER # 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, Q, exec, ghostty
|
bind = $mainMod, Q, exec, uwsm app -- ghostty
|
||||||
bind = $mainMod, B, exec, firefox
|
bind = $mainMod, B, exec, uwsm app -- firefox
|
||||||
bind = $mainMod, D, exec, walker
|
bind = $mainMod, D, exec, walker
|
||||||
bind = $mainMod shift, D, exec, 1password --quick-access
|
bind = $mainMod shift, D, exec, uwsm app -- 1password --quick-access
|
||||||
bind = $mainMod, S, exec, hyprshot -z --clipboard-only -m region
|
bind = $mainMod, S, exec, uwsm app -- hyprshot -z --clipboard-only -m region
|
||||||
bind = $mainMod shift, S, exec, hyprshot -z --clipboard-only -m window
|
bind = $mainMod shift, S, exec, uwsm app -- hyprshot -z --clipboard-only -m window
|
||||||
bind = $mainMod control, S, exec, hyprshot -z --clipboard-only -m active
|
bind = $mainMod control, S, exec, uwsm app -- hyprshot -z --clipboard-only -m active
|
||||||
bind = $mainMod, V, exec, sh ~/.config/hypr/hyprlock.sh
|
bind = $mainMod, V, exec, uwsm app -- sh ~/.config/hypr/hyprlock.sh
|
||||||
|
|
||||||
bind = $mainMod, SPACE, togglefloating,
|
bind = $mainMod, SPACE, togglefloating,
|
||||||
bind = $mainMod, W, killactive,
|
bind = $mainMod, W, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exec, uwsm stop
|
||||||
|
|
||||||
#bind = $mainMod, P, pseudo, # dwindle # have no clue what this does
|
#bind = $mainMod, P, pseudo, # dwindle # have no clue what this does
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue