set st as default terminal
This commit is contained in:
parent
f175f875a9
commit
be25fee24c
2 changed files with 18 additions and 15 deletions
15
hyprland.nix
15
hyprland.nix
|
|
@ -125,7 +125,8 @@
|
|||
enable_swallow = true;
|
||||
mouse_move_enables_dpms = true;
|
||||
key_press_enables_dpms = true;
|
||||
swallow_regex = "^(Alacritty)(.*)$";
|
||||
swallow_regex = "^st-256color$";
|
||||
# swallow_regex = "^(Alacritty)(.*)$";
|
||||
# swallow_regex = "^(kitty)(.*)$";
|
||||
};
|
||||
|
||||
|
|
@ -135,7 +136,9 @@
|
|||
|
||||
"$mod" = "SUPER";
|
||||
|
||||
bind = [
|
||||
bind =
|
||||
let floating_terminal = "$TERMINAL -c floating"; in
|
||||
[
|
||||
"$mod, q, killactive"
|
||||
"$mod SHIFT, q, exec, kill -9 $(hyprctl activewindow | grep pid | grep -E -o '[0-9]+$')"
|
||||
"$mod, a, togglefloating"
|
||||
|
|
@ -153,12 +156,12 @@
|
|||
"$mod SHIFT, w, exec, firefox --private-window"
|
||||
"$mod SHIFT, s, exec, TMP=$(rofi -dmenu -p \"nix search\" -l 0) && $BROWSER \"https://search.nixos.org/packages?channel=unstable&query=$TMP\""
|
||||
"$mod SHIFT, e, exec, $(rofi -dmenu -p \"command\" -l 0)"
|
||||
"$mod, m, exec, $TERMINAL --class floating -e pulsemixer"
|
||||
"$mod, m, exec, ${floating_terminal} -e pulsemixer"
|
||||
"$mod, d, exec, ~/.bin/runmenu"
|
||||
"$mod, x, exec, keepmenu"
|
||||
"$mod, z, exec, tmux new -spopup_terminal -d; $TERMINAL --class floating -e tmux a -t popup_terminal"
|
||||
"$mod, z, exec, tmux new -spopup_terminal -d; ${floating_terminal} -e tmux a -t popup_terminal"
|
||||
"$mod, f11, exec, ocrzone"
|
||||
"$mod, f12, exec, $TERMINAL --class floating -e nmtui"
|
||||
"$mod, f12, exec, ${floating_terminal} -e nmtui"
|
||||
"$mod, f2, exec, darkman toggle"
|
||||
"$mod, f3, exec, hyprctl reload"
|
||||
"$mod, f4, exec, rofi-udisk"
|
||||
|
|
@ -369,7 +372,7 @@
|
|||
env = WLR_DRM_DEVICES,/dev/dri/card0
|
||||
env = AQ_WLR_DEVICES,/dev/dri/card0
|
||||
env = AQ_DRM_DEVICES,/dev/dri/card0
|
||||
env = TERMINAL,alacritty
|
||||
env = TERMINAL,st
|
||||
|
||||
env = NIXOS_OZONE_WL,1
|
||||
env = GDK_BACKEND,wayland,x11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue