changed handling of sleep and lockscreen to I3.

This commit is contained in:
Gabe Venberg 2019-07-22 17:24:55 -05:00
parent d88054554f
commit fdc6fd5889
4 changed files with 137 additions and 2 deletions

View file

@ -171,6 +171,11 @@ font pango:DejaVu Sans Mono 8
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# lock the screen with mod+x, and lock+sleep computer with mod+shift+x
set $lock_command "i3lock" # avoid repetition
bindsym $mod+x exec $lock_command
bindsym $mod+shift+x exec $lock_command && systemctl suspend
#make certan windwows always floating #make certan windwows always floating
#volume controll #volume controll
for_window [class="Pavucontrol"] floating enable for_window [class="Pavucontrol"] floating enable

View file

@ -0,0 +1,6 @@
This directory is dedicated for user-supplied scripts/executables.
vifm modifies its PATH environment variable to let user run those
scripts without specifying full path. All subdirectories are added
as well. File in a subdirectory overrules file with the same name
in parent directories. Restart might be needed to recognize files
in newly created or renamed subdirectories.

126
vifm/.config/vifm/vifminfo Normal file
View file

@ -0,0 +1,126 @@
# You can edit this file by hand, but it's recommended not to do that.
# Marks:
'b
/home/gabe/bin/
..
1561749046
'h
/home/gabe/
..
1561749046
# Bookmarks:
# TUI:
al
q0
v2
ov
m-1
l2
r2
# Left window history (oldest to newest):
d/
sys
15
d/sys
..
0
d/
mnt
8
d/mnt
..
0
d/
mnt
8
d/mnt
c
1
d/mnt/c
..
0
d/mnt
c
1
d/
mnt
8
d/mnt
c
1
d/mnt/c
..
0
d/mnt
c
1
d/
media
7
d/media
..
0
d/
media
7
d/media
..
0
d/
mnt
8
d/mnt
c
1
d/mnt/c
..
0
d/mnt
c
1
d/
mnt
8
d
# Right window history (oldest to newest):
D/
home
4
D/home
gabe
1
D/home/gabe
dotfiles
1
D
# Command line history (oldest to newest):
:q
# Search history (oldest to newest):
# Prompt history (oldest to newest):
# Local filter history (oldest to newest):
# Registers:
# Directory stack (oldest to newest):
# Trash content:
# State:
f
i1
[.1
[F
F
I1
].1
]F
s0

View file

@ -95,8 +95,6 @@ local LOCAL_ZSHRC=$HOME/.config/zshlocal # Allow the local machine to have
alias vimdiff="nvim -d" alias vimdiff="nvim -d"
alias mutt="neomutt" alias mutt="neomutt"
alias fuck='sudo $(fc -ln -1)' alias fuck='sudo $(fc -ln -1)'
#i3sleep locks the screen and puts the system to sleep
alias i3sleep="systemctl suspend && i3lock"
#alias -g ...='../..' #alias -g ...='../..'
#alias -g ....='../../..' #alias -g ....='../../..'