summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3/.config/i3/config4
-rwxr-xr-xscripts/Scripts/screentool4
-rwxr-xr-xscripts/Scripts/volume2
3 files changed, 6 insertions, 4 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index dbce801..43529ad 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -42,6 +42,7 @@ bindsym $mod+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec rofi -show drun
+bindsym $mod+s exec rofi -show window
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
@@ -78,7 +79,7 @@ bindsym $mod+e split toggle
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
-bindsym $mod+s layout stacking
+# bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+t layout toggle split
@@ -170,6 +171,7 @@ bindsym XF86AudioLowerVolume exec ~/Scripts/volume volumedown
bindsym XF86AudioMicMute exec ~/Scripts/volume micmutetoggle
bindsym XF86AudioMute exec ~/Scripts/volume volumetoggle
bindsym XF86AudioPlay exec ~/Scripts/volume playtoggle
+bindsym Pause exec ~/Scripts/volume playtoggle
bindsym XF86AudioPrev exec ~/Scripts/volume backward
bindsym XF86AudioNext exec ~/Scripts/volume forward
bindsym XF86Display exec ~/Scripts/screentool
diff --git a/scripts/Scripts/screentool b/scripts/Scripts/screentool
index 2d8da9e..9e41fd7 100755
--- a/scripts/Scripts/screentool
+++ b/scripts/Scripts/screentool
@@ -21,9 +21,9 @@ if [ "$action" = "off" ]; then
fi
# Get position
-where=$(printf "left-of\nright-of\nbelow\nabove\nnone" | $DMENU -p "position")
+where=$(printf "left-of\nright-of\nbelow\nabove\nsame" | $DMENU -p "position")
-if [ "$where" = "none" ]; then
+if [ "$where" = "same" ]; then
set -x
$XRANDR --output $chosen --auto
exit 0
diff --git a/scripts/Scripts/volume b/scripts/Scripts/volume
index 105be1e..68e7bde 100755
--- a/scripts/Scripts/volume
+++ b/scripts/Scripts/volume
@@ -8,7 +8,7 @@ case $1 in
pacmd set-source-volume @DEFAULT_SOURCE@ 0
;;
softunmute)
- pacmd set-source-volume @DEFAULT_SOURCE@ 38000
+ pacmd set-source-volume @DEFAULT_SOURCE@ 50000
;;
volumedown)
pactl set-sink-volume @DEFAULT_SINK@ -5%