i3wm; swap mod+\ from mic mute to screenshot
This commit is contained in:
parent
592fe48004
commit
fc60660b9b
13
bin/i3-utils
13
bin/i3-utils
@ -40,4 +40,17 @@ case $1 in
|
|||||||
esac
|
esac
|
||||||
scwrypts i3/launch-or-show -- $PROGRAM ${ARGS[@]}
|
scwrypts i3/launch-or-show -- $PROGRAM ${ARGS[@]}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
screenshot )
|
||||||
|
command -v deepin-screen-recorder || notify-send "I3 UTILS" "no screenshot application available"
|
||||||
|
deepin-screen-recorder
|
||||||
|
DEEPIN_CONFIG="$HOME/.config/deepin/deepin-screen-recorder/deepin-screen-recorder.conf"
|
||||||
|
|
||||||
|
: \
|
||||||
|
&& echo "fixing stupid settings" \
|
||||||
|
&& mv $DEEPIN_CONFIG $DEEPIN_CONFIG.bak \
|
||||||
|
&& sed '/specifiedSavepath=.*home.*Pictures/d' $DEEPIN_CONFIG.bak > $DEEPIN_CONFIG \
|
||||||
|
|| mv $DEEPIN_CONFIG.bak $DEEPIN_CONFIG.conf \
|
||||||
|
;
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -22,7 +22,6 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id $UTILS volumeup
|
|||||||
bindsym XF86AudioLowerVolume exec --no-startup-id $UTILS volumedown
|
bindsym XF86AudioLowerVolume exec --no-startup-id $UTILS volumedown
|
||||||
bindsym XF86AudioMute exec --no-startup-id $UTILS volumemute
|
bindsym XF86AudioMute exec --no-startup-id $UTILS volumemute
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id $UTILS micmute
|
bindsym XF86AudioMicMute exec --no-startup-id $UTILS micmute
|
||||||
bindsym $mod+backslash exec --no-startup-id $UTILS micmute
|
|
||||||
|
|
||||||
# Screen brightness
|
# Screen brightness
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id $UTILS backlightup
|
bindsym XF86MonBrightnessUp exec --no-startup-id $UTILS backlightup
|
||||||
@ -49,6 +48,7 @@ bindsym $mod+Shift+minus exec --no-startup-id $UTILS lock
|
|||||||
|
|
||||||
bindsym $mod+space exec --no-startup-id dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25'
|
bindsym $mod+space exec --no-startup-id dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25'
|
||||||
|
|
||||||
|
bindsym $mod+backslash exec --no-startup-id $UTILS screenshot
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## Window Management and Navigation ############################################
|
## Window Management and Navigation ############################################
|
||||||
@ -147,6 +147,9 @@ for_window [class="^.*"] border pixel 4
|
|||||||
gaps inner 0
|
gaps inner 0
|
||||||
gaps outer 0
|
gaps outer 0
|
||||||
|
|
||||||
|
# prevent borders on xfce4-notifyd
|
||||||
|
for_window [class="[xX]fce4-notifyd"] border pixel 0
|
||||||
|
|
||||||
bindsym $mod+z gaps outer current plus 2; gaps inner current plus 2;
|
bindsym $mod+z gaps outer current plus 2; gaps inner current plus 2;
|
||||||
bindsym $mod+shift+z gaps outer current minus 2; gaps inner current minus 2;
|
bindsym $mod+shift+z gaps outer current minus 2; gaps inner current minus 2;
|
||||||
|
|
||||||
|
@ -3,6 +3,13 @@ source "$HOME/.config/wryn/env.zsh"
|
|||||||
source "$DOTWRYN/config/xinitrc.common"
|
source "$DOTWRYN/config/xinitrc.common"
|
||||||
|
|
||||||
command -v dex && dex -a
|
command -v dex && dex -a
|
||||||
|
|
||||||
|
[ -f /usr/lib/xfce-polkit/xfce-polkit ] \
|
||||||
|
&& exec /usr/lib/xfce-polkit/xfce-polkit &
|
||||||
|
|
||||||
|
[ -f /usr/lib/xfce4/notifyd/xfce4-notifyd ] \
|
||||||
|
&& exec /usr/lib/xfce4/notifyd/xfce4-notifyd &
|
||||||
|
|
||||||
$DOTWRYN/bin/xorg-activate-default &
|
$DOTWRYN/bin/xorg-activate-default &
|
||||||
|
|
||||||
cd
|
cd
|
||||||
|
15
zsh/completion
Normal file
15
zsh/completion
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
command -v op >/dev/null 2>&1 && {
|
||||||
|
eval "$(op completion zsh)"
|
||||||
|
compdef _op op
|
||||||
|
export OP_FORMAT=json
|
||||||
|
}
|
||||||
|
|
||||||
|
command -v flux >/dev/null 2>&1 && {
|
||||||
|
. <(flux completion zsh)
|
||||||
|
}
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
true
|
Loading…
x
Reference in New Issue
Block a user