Fix emacs not having TERMINAL env var
This commit is contained in:
@ -48,23 +48,21 @@ in {
|
|||||||
wf-recorder
|
wf-recorder
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin
|
(pkgs.writeShellScriptBin "toggle-screen-mirroring" (
|
||||||
"toggle-screen-mirroring"
|
builtins.readFile ./toggle-screen-mirroring.sh
|
||||||
(builtins.readFile
|
))
|
||||||
./toggle-screen-mirroring.sh))
|
|
||||||
|
|
||||||
(
|
(pkgs.writeShellScriptBin "correct-workspace-locations" (
|
||||||
pkgs.writeShellScriptBin
|
lib.concatStringsSep "\n" (
|
||||||
"correct-workspace-locations"
|
|
||||||
(
|
|
||||||
lib.concatStringsSep "\n"
|
|
||||||
(
|
|
||||||
builtins.concatLists (
|
builtins.concatLists (
|
||||||
map (monitor: map (ws: "hyprctl dispatch moveworkspacetomonitor ${ws} ${monitor.name}") monitor.workspaces) config.monitors
|
map (
|
||||||
)
|
monitor:
|
||||||
)
|
map (ws: "hyprctl dispatch moveworkspacetomonitor ${ws} ${monitor.name}") monitor.workspaces
|
||||||
|
)
|
||||||
|
config.monitors
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
))
|
||||||
];
|
];
|
||||||
|
|
||||||
services.cliphist = {
|
services.cliphist = {
|
||||||
@ -157,6 +155,9 @@ in {
|
|||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
|
|
||||||
|
# Environment variables programs like emacs have access to
|
||||||
|
env = "TERMINAL,${config.terminal}";
|
||||||
|
|
||||||
# Monitors
|
# Monitors
|
||||||
monitor = ",preferred,auto,1";
|
monitor = ",preferred,auto,1";
|
||||||
|
|
||||||
@ -280,7 +281,7 @@ in {
|
|||||||
# opening applications
|
# opening applications
|
||||||
"$mod, D, exec, wofi --show drun,run"
|
"$mod, D, exec, wofi --show drun,run"
|
||||||
"$mod, E, exec, pcmanfm"
|
"$mod, E, exec, pcmanfm"
|
||||||
"$mod, Return, exec, ghostty"
|
"$mod, Return, exec, ${config.terminal}"
|
||||||
"$mod, B, exec, firefox"
|
"$mod, B, exec, firefox"
|
||||||
"$mod, C, exec, qalculate-gtk"
|
"$mod, C, exec, qalculate-gtk"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user