diff options
author | Julian T <julian@jtle.dk> | 2021-04-05 11:30:32 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-04-05 11:30:32 +0200 |
commit | 12c708db26e60c6563a789fa01099aedb3080912 (patch) | |
tree | 05474ad3af76226f25952b24e8a3791b519d052b | |
parent | 1e2b07b971cc136e3f739d94888a5bd5fc1c594a (diff) |
Changes to i3 and tools
-rw-r--r-- | i3/.config/i3/config | 4 | ||||
-rwxr-xr-x | scripts/Scripts/screentool | 4 | ||||
-rwxr-xr-x | scripts/Scripts/volume | 2 |
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% |