Fix bugs with volume, dbus and monitor settings

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2017-01-18 21:15:26 +01:00
parent 1c65ee002d
commit 1102b08218
3 changed files with 4 additions and 6 deletions

View file

@ -68,8 +68,8 @@ bindsym $mod+a focus parent
#bindsym $mod+d focus child #bindsym $mod+d focus child
# Set monitor names # Set monitor names
set $output1 VGA1 set $output1 VGA-1
set $output2 HDMI1 set $output2 HDMI-1
set $output3 third set $output3 third
# Set workspace titles # Set workspace titles
@ -218,12 +218,10 @@ exec_always --no-startup-id xrandr --output $output2 --mode 1280x1024 --pos 1280
# Other applications # Other applications
exec google-chrome-beta exec google-chrome-beta
exec gnome-terminal -x bash -c "sudo apt-get update && sudo apt-get upgrade -y"
# Assign programs to specific workspaces # Assign programs to specific workspaces
### ###
assign [class="google-chrome-beta"] $workspace1 assign [class="google-chrome-beta"] $workspace1
assign [class="Gnome-terminal"] $workspace2
assign [class="Atom"] $workspace3 assign [class="Atom"] $workspace3
assign [class="Steam"] $workspace6 assign [class="Steam"] $workspace6
assign [class="KeePass2"] $workspace8 assign [class="KeePass2"] $workspace8

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# volume.sh # volume.sh
volume=$(/usr/share/i3blocks/volume 5 pulse) volume=$(/usr/lib/i3blocks/volume 5 pulse)
if [ ${volume::-1} -ge "35" ]; then if [ ${volume::-1} -ge "35" ]; then
echo "$volume" echo "$volume"

View file

@ -12,4 +12,4 @@ ibus-daemon -d --xim
dconf load / < "$HOME/dotfiles/dconf/config" dconf load / < "$HOME/dotfiles/dconf/config"
# Start i3 # Start i3
exec i3 exec dbus-launch i3