- Some changes (multimedia/default apps)

This commit is contained in:
dbroqua 2017-10-01 01:13:05 +02:00
parent cf29ef33c0
commit 89bdce8c57

View file

@ -177,10 +177,11 @@ exec --no-startup-id i3-msg 'exec nextcloud &'
exec --no-startup-id i3-msg 'exec ssh-add &' exec --no-startup-id i3-msg 'exec ssh-add &'
# Launch app on start session # Launch app on start session
exec --no-startup-id i3-msg 'exec /usr/lib/chromium/chromium' exec --no-startup-id i3-msg 'exec /usr/bin/google-chrome'
exec --no-startup-id i3-msg 'exec /usr/bin/lilyterm' exec --no-startup-id i3-msg 'exec /usr/bin/lilyterm'
exec --no-startup-id i3-msg 'exec /usr/bin/thunderbird' exec --no-startup-id i3-msg 'exec /usr/bin/thunderbird'
exec --no-startup-id i3-msg 'exec /usr/bin/spotify' exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
exec --no-startup-id i3-msg 'exec /usr/bin/clementine'
# Set wallpaper # Set wallpaper
exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg
@ -191,17 +192,16 @@ workspace_layout tabbed
# Screen lock # Screen lock
bindsym $mod+mod1+l exec "~/Bin/lock.sh" bindsym $mod+mod1+l exec "~/Bin/lock.sh"
# Open term
bindsym $mod+x exec lilyterm
# Multimedia keys # Multimedia keys
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 3` +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 3` -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute `pactl info|grep Sink|cut -d: -f 3` toggle
# Spotify # Spotify
bindsym XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause bindsym XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous bindsym XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bindsym XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next bindsym XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Clementine # Clementine
bindsym Shift+XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause bindsym Shift+XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym Shift+XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous bindsym Shift+XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
@ -216,7 +216,8 @@ client.focused_inactive #333333 #333333 #888888 #292d2e
client.unfocused #333333 #333333 #888888 #292d2e client.unfocused #333333 #333333 #888888 #292d2e
client.urgent #2f343a #900000 #ffffff #900000 client.urgent #2f343a #900000 #ffffff #900000
# Remove border for some apps # Remove border or fix workspace id for some apps
for_window [class="Spotify"] border none, move container to workspace 3 for_window [class="Spotify"] border none, move container to workspace 3
for_window [class="Clementine"] border none, move container to workspace 3
for_window [class="Thunderbird"] border none, move container to workspace 2 for_window [class="Thunderbird"] border none, move container to workspace 2
for_window [class="Chromium"], move container to workspace 1 for_window [class="Google-Chrome"], move container to workspace 1