Emacs tune, some updates, direnv

This commit is contained in:
Aleksandr Lebedev 2025-11-21 23:57:30 +01:00
parent 1511f0cd92
commit 244edc5ca6
7 changed files with 77 additions and 40 deletions

View file

@ -272,9 +272,10 @@ layout {
// See the binds section below for more spawn examples.
spawn-sh-at-startup "emacs --daemon"
spawn-at-startup "secretsd"
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
spawn-sh-at-startup "qs -c dms"
//spawn-sh-at-startup "qs -c dms"
spawn-sh-at-startup "wl-paste --watch cliphist store &"
spawn-sh-at-startup "nextcloud --background"
@ -382,42 +383,42 @@ binds {
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
Mod+Space hotkey-overlay-title="Application Launcher" {
spawn-sh "qs -c dms ipc call spotlight toggle";
spawn-sh "dms ipc call spotlight toggle";
}
Mod+V hotkey-overlay-title="Clipboard Manager" {
spawn-sh "qs -c dms ipc call clipboard toggle";
spawn-sh "dms ipc call clipboard toggle";
}
Mod+M hotkey-overlay-title="Task Manager" {
spawn-sh "qs -c dms ipc call processlist toggle";
spawn-sh "dms ipc call processlist toggle";
}
Super+L hotkey-overlay-title="Lock Screen" {
spawn-sh "qs -c dms ipc call lock lock";
spawn-sh "dms ipc call lock lock";
}
Mod+Y hotkey-overlay-title="Browse Wallpapers" {
spawn-sh "qs -c dms ipc call dankdash wallpaper";
spawn-sh "dms ipc call dankdash wallpaper";
}
XF86AudioRaiseVolume allow-when-locked=true {
spawn-sh "qs -c dms ipc call audio increment 3";
spawn-sh "dms ipc call audio increment 3";
}
XF86AudioLowerVolume allow-when-locked=true {
spawn-sh "qs -c dms ipc call audio decrement 3";
spawn-sh "dms ipc call audio decrement 3";
}
XF86AudioMute allow-when-locked=true {
spawn-sh "qs -c dms ipc call audio mute";
spawn-sh "dms ipc call audio mute";
}
XF86AudioMicMute allow-when-locked=true {
spawn-sh "qs -c dms ipc call audio micmute";
spawn-sh "dms ipc call audio micmute";
}
XF86MonBrightnessUp allow-when-locked=true {
spawn-sh "qs -c dms ipc call brightness increment 5 ''";
spawn-sh "dms ipc call brightness increment 5 ''";
}
// You can override the default device for e.g. keyboards by adding the device name to the last param
XF86MonBrightnessDown allow-when-locked=true {
spawn-sh "qs -c dms ipc call brightness decrement 5 ''";
spawn-sh "dms ipc call brightness decrement 5 ''";
}
// Night mode toggle
Mod+Shift+N allow-when-locked=true {
spawn "dms" "ipc" "call" "night" "toggle";
spawn-sh "dms ipc call night toggle";
}
// Open/close the Overview: a zoomed-out view of workspaces and windows.
// You can also move the mouse into the top-left hot corner,