add bind for lid switch to lock
This commit is contained in:
1
.bashrc
1
.bashrc
@@ -41,3 +41,4 @@ eval "$(fzf --bash)"
|
||||
eval "$(zoxide init --cmd cd bash)"
|
||||
|
||||
bind 'set mark-symlinked-directories on'
|
||||
|
||||
|
@@ -297,6 +297,8 @@ bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
# Lock when lid closed
|
||||
bindl = , switch:on:Lid Switch, exec, loginctl lock-session
|
||||
|
||||
# Flag "e" means it will repeat when held down
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
|
@@ -7,6 +7,18 @@
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"ssh_connections": [
|
||||
{
|
||||
"host": "miningtcup.me",
|
||||
"projects": [
|
||||
{
|
||||
"paths": [
|
||||
"/home/ted/tmp"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon_theme": "Material Icon Theme",
|
||||
"telemetry": {
|
||||
"metrics": false,
|
||||
|
Reference in New Issue
Block a user