Browse Source

Add scripts to PATH

master
Riyyi 6 years ago
parent
commit
6985c5b912
  1. 9
      .config/i3/config
  2. 1
      .config/zsh/.zshrc

9
.config/i3/config

@ -8,7 +8,6 @@ gaps outer 0
hide_edge_borders both
set $mod Mod4
set $mod2 Mod1
set $mc $HOME/.scripts/mediacontrol.sh
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
@ -172,7 +171,7 @@ bindsym $mod+F3 exec brightnessctl -q s +10% && pkill -RTMIN+2 i3blocks
bindsym $mod+F2 exec brightnessctl -q s 10%- && pkill -RTMIN+2 i3blocks
# Touchscreen toggle
bindsym $mod+F7 exec $HOME/.scripts/touchscreen.sh
bindsym $mod+F7 exec touchscreen.sh
#--- Arrow key bindings ---#
@ -200,6 +199,6 @@ bindsym --release Shift+Print exec scrot -s -e "mv \$f $HOME/Pictures/screen_c
bindsym --release $mod+Print exec scrot -u -e "mv \$f $HOME/Pictures/screen_captures/" # Focused window
# Volume
bindsym XF86AudioRaiseVolume exec --no-startup-id $mc up 5
bindsym XF86AudioLowerVolume exec --no-startup-id $mc down 5
bindsym XF86AudioMute exec --no-startup-id $mc toggle
bindsym XF86AudioRaiseVolume exec --no-startup-id mediacontrol.sh up 5
bindsym XF86AudioLowerVolume exec --no-startup-id mediacontrol.sh down 5
bindsym XF86AudioMute exec --no-startup-id mediacontrol.sh toggle

1
.config/zsh/.zshrc

@ -1,6 +1,7 @@
## Settings
# Directories
export PATH="$PATH:$HOME/.scripts"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"

Loading…
Cancel
Save