Changes. And more changes.
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
|
||||
### START APPLICATIONS #####################################################
|
||||
|
||||
bindsym $mod+d exec j4-dmenu-desktop --dmenu="dmenu -b -i -l 10 -p '>'"
|
||||
bindsym $mod+d exec j4-dmenu-desktop --dmenu="dmenu -b -i -l 10 -p '>' -nb '#222222' -nf '#ffffff' -sb '#e16b40' -sf '#000000'"
|
||||
bindsym $mod+Return exec $terminal
|
||||
bindsym $mod+F1 exec firefox
|
||||
|
||||
|
||||
@@ -15,6 +15,8 @@ bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||
# font for window titles. ISO 10646 = Unicode
|
||||
font pango:DejaVu Sans Mono 11
|
||||
|
||||
bindsym $mod+o exec --no-startup-id ~/.i3/scripts/monitor/monitor.sh
|
||||
|
||||
|
||||
# start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
|
||||
@@ -17,21 +17,14 @@ update_interval_on_battery 1.0
|
||||
|
||||
TEXT
|
||||
[\
|
||||
${if_mpd_playing}\
|
||||
{ "full_text" : "\
|
||||
${if_match "${mpd_status}" == "Paused"}\
|
||||
\
|
||||
${else}\
|
||||
\
|
||||
${endif}\
|
||||
~ " , "name" : "mpd_toggle" ,"separator" : false , "separator_block_width" : 0 },\
|
||||
${endif}\
|
||||
\
|
||||
\
|
||||
\
|
||||
{ "full_text" : "\
|
||||
${if_running mpd}\
|
||||
${if_mpd_playing}\
|
||||
${if_match "${mpd_status}" == "Paused"}\
|
||||
\
|
||||
${else}\
|
||||
\
|
||||
${endif}\
|
||||
${mpd_artist} - ${mpd_title} ${mpd_elapsed}/${mpd_length}\
|
||||
${else}\
|
||||
stopped\
|
||||
@@ -39,7 +32,7 @@ ${endif}\
|
||||
${else}\
|
||||
down\
|
||||
${endif}\
|
||||
" , "name" : "mpd" },\
|
||||
" , "name" : "mpd_toggle" },\
|
||||
\
|
||||
\
|
||||
\
|
||||
|
||||
0
i3/i3/scripts/genconfig.bash
Normal file → Executable file
0
i3/i3/scripts/genconfig.bash
Normal file → Executable file
@@ -28,7 +28,7 @@ lock()
|
||||
log "[W] Lockscreen not found, using color #$FALLBACK_COLOR as background."
|
||||
background_options="--color $FALLBACK_COLOR"
|
||||
fi
|
||||
i3lock $background_options
|
||||
i3lock $background_options #-p win --image "$HOME/pictures/windows-lockscreen.jpg"
|
||||
retval=$?
|
||||
[[ -z "$1" ]] && sleep 1 && xset dpms force off
|
||||
return $retval
|
||||
@@ -51,7 +51,7 @@ case "$1" in
|
||||
;;
|
||||
hibernate)
|
||||
log "[I] Hibernating."
|
||||
#lock &&
|
||||
#lock &&
|
||||
systemctl hibernate
|
||||
;;
|
||||
reboot)
|
||||
|
||||
5
i3/i3/scripts/pa-volume.bash
Normal file → Executable file
5
i3/i3/scripts/pa-volume.bash
Normal file → Executable file
@@ -19,6 +19,11 @@ setvol() {
|
||||
else
|
||||
echo "-"
|
||||
newvol=$(( $oldvol - $delta ))
|
||||
echo $newvol
|
||||
fi
|
||||
if [[ $newvol -gt 100 ]]; then
|
||||
echo "capping at 100 percent"
|
||||
newvol=100
|
||||
fi
|
||||
echo "newvol $newvol"
|
||||
else
|
||||
|
||||
0
i3/i3/scripts/status.d/battery.bash
Normal file → Executable file
0
i3/i3/scripts/status.d/battery.bash
Normal file → Executable file
0
i3/i3/scripts/status.d/conky_pacman.bash
Normal file → Executable file
0
i3/i3/scripts/status.d/conky_pacman.bash
Normal file → Executable file
11
i3/i3/scripts/status.d/pacman.bash
Normal file → Executable file
11
i3/i3/scripts/status.d/pacman.bash
Normal file → Executable file
@@ -1,6 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Total packages: $(pacman -Qq | wc -l)"
|
||||
echo ""
|
||||
echo "Updates available:"
|
||||
echo "$(pacman -Qu | column -t)"
|
||||
echo
|
||||
if ! pacman -Qu >/dev/null 2>&1; then
|
||||
echo "Up to date."
|
||||
else
|
||||
echo "Available updates:"
|
||||
echo "$(pacman -Qu | column -t)"
|
||||
fi
|
||||
|
||||
11
i3/i3/scripts/status.d/sysinfo.bash
Normal file → Executable file
11
i3/i3/scripts/status.d/sysinfo.bash
Normal file → Executable file
@@ -16,7 +16,6 @@ echo ""
|
||||
echo "CPU:"
|
||||
(echo "Name:|$(lscpu | grep "Model name:" | tr -s " " | cut -d " " -f 3-)"
|
||||
echo "Architecture:|$(uname -m)"
|
||||
echo "Temp:|$(sensors -u | grep "temp1_input" | cut -d ":" -f 2 | cut -d "." -f 1 | cut -c 2-)°C"
|
||||
echo "Load:|$(uptime | tr -s " " | cut -d " " -f 10 | tr -d ",")") | columnate
|
||||
echo ""
|
||||
echo "MEM:"
|
||||
@@ -31,5 +30,15 @@ echo ""
|
||||
echo "SWAP:"
|
||||
if [[ -z "$(swapon)" ]] ; then
|
||||
echo "none"
|
||||
else
|
||||
i=0
|
||||
swapon | (while read line; do
|
||||
[[ $i == 0 ]] && { i=1 ; continue ; }
|
||||
swappath=$(echo $line | cut -d ' ' -f 1)
|
||||
swapused=$(echo $line | cut -d ' ' -f 4)
|
||||
swaptotal=$(echo $line | cut -d ' ' -f 3)
|
||||
|
||||
echo "${swappath}:|${swapused}/${swaptotal}"
|
||||
done) | columnate
|
||||
fi
|
||||
|
||||
|
||||
0
i3/i3/scripts/status.d/wireless.bash
Normal file → Executable file
0
i3/i3/scripts/status.d/wireless.bash
Normal file → Executable file
Reference in New Issue
Block a user