Lots of changes.

This commit is contained in:
2014-09-30 19:55:51 +02:00
parent 2f42d54327
commit b323c66209
17 changed files with 229 additions and 181 deletions

View File

@@ -19,7 +19,7 @@
set $mod Mod4
# The default terminal
set $terminal urxvt
set $terminal urxvtc #-e bash -c "tmux -q has-session && exec tmux attach-session -d || exec tmux new-session -n$USER -s$USER@$HOSTNAME"
# Path to the exit script
set $path_i3exit ~/.i3/scripts/i3exit.bash
@@ -251,7 +251,7 @@
popup_during_fullscreen leave_fullscreen
# Do not always wrap but change to a container on the same level instead
force_focus_wrapping no
force_focus_wrapping yes
force_xinerama no

View File

@@ -4,8 +4,8 @@ bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/.i3/scripts/pa-volume.bash set-vol +5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/.i3/scripts/pa-volume.bash set-vol -5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
# keys seemingly switched
bindsym XF86MonBrightnessUp exec --no-startup-id sudo /usr/local/bin/backlight.sh -10 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
bindsym XF86MonBrightnessDown exec --no-startup-id sudo /usr/local/bin/backlight.sh +10 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -dec 5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -inc 5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
bindsym XF86AudioPlay exec --no-startup-id mpc toggle

View File

@@ -53,12 +53,12 @@ conky() {
if threshold2 ; then
if [[ ! -f "$PATH_WARN_2" ]] ; then
echo > "$PATH_WARN_2"
notify-send --icon dialog-warning "Battery below ${THRESHOLD2}%"
notify-send --icon dialog-warning "Battery below ${THRESHOLD2}%" --expire-time 0
fi
elif threshold1 ; then
if [[ ! -f "$PATH_WARN_1" ]] ; then
echo > "$PATH_WARN_1"
notify-send --icon dialog-warning "Battery below ${THRESHOLD1}%"
notify-send --icon dialog-warning "Battery below ${THRESHOLD1}%" --expire-time 30000
fi
fi
fi

View File

@@ -22,7 +22,7 @@ echo "MEM:"
echo "${memused}MB / ${memtotal}MB ($(( $memused * 100 / $memtotal ))%) used"
echo ""
echo "PROCS:"
(echo "x x cpu% mem% x x x x x x command" ; ps aux | sort -nrk 3 | tr -s " " | cut -d " " -f -11 | uniq -uf 10 | head -10) | cut -d " " -f 3,4,11 | column -t
(echo "x x CPU% MEM% x x x x x x COMMAND" ; ps aux | grep -v '^USER' | sort -nrk 3 | tr -s " " | cut -d " " -f -11 | uniq -uf 10 | head -10) | cut -d " " -f 3,4,11 | column -t
echo ""
echo "STORAGE:"
df -hT --type=btrfs --type=ext4 --total