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)"
|
eval "$(zoxide init --cmd cd bash)"
|
||||||
|
|
||||||
bind 'set mark-symlinked-directories on'
|
bind 'set mark-symlinked-directories on'
|
||||||
|
|
||||||
|
@@ -297,6 +297,8 @@ bindl = , XF86AudioNext, exec, playerctl next
|
|||||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
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
|
# Flag "e" means it will repeat when held down
|
||||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
@@ -7,6 +7,18 @@
|
|||||||
// custom settings, run `zed: open default settings` from the
|
// custom settings, run `zed: open default settings` from the
|
||||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
{
|
{
|
||||||
|
"ssh_connections": [
|
||||||
|
{
|
||||||
|
"host": "miningtcup.me",
|
||||||
|
"projects": [
|
||||||
|
{
|
||||||
|
"paths": [
|
||||||
|
"/home/ted/tmp"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"icon_theme": "Material Icon Theme",
|
"icon_theme": "Material Icon Theme",
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
"metrics": false,
|
"metrics": false,
|
||||||
|
Reference in New Issue
Block a user