mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +08:00
fixes
This commit is contained in:
parent
3707d2c3d5
commit
354d23f3f8
8 changed files with 25 additions and 6 deletions
|
|
@ -38,6 +38,10 @@ bindsym $mod+s exec --no-startup-id dmenu_recency
|
|||
# launch categorized menu
|
||||
bindsym $mod+z exec --no-startup-id morc_menu
|
||||
|
||||
# screenkey
|
||||
bindsym $mod+ctrl+s exec bash ~/.config/i3/sk.sh
|
||||
bindsym $mod+shift+ctrl+s exec killall screenkey
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
################################################################################################
|
||||
|
|
@ -372,7 +376,7 @@ bindsym $mod+m bar mode toggle
|
|||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 14
|
||||
gaps inner 17
|
||||
gaps outer -2
|
||||
|
||||
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||
|
|
|
|||
6
i3/sk.sh
Executable file
6
i3/sk.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
result=$(ps ax|grep -v grep|grep screenkey)
|
||||
if [ "$result" == "" ]; then
|
||||
eval "screenkey --bg-color white --font-color black &"
|
||||
else
|
||||
eval "killall screenkey"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue