From 89bdce8c574b10296a6570c7b0b9e292915c8af2 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 1 Oct 2017 01:13:05 +0200 Subject: [PATCH] - Some changes (multimedia/default apps) --- i3/config | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/i3/config b/i3/config index 4041963..4a0f95a 100644 --- a/i3/config +++ b/i3/config @@ -177,10 +177,11 @@ exec --no-startup-id i3-msg 'exec nextcloud &' exec --no-startup-id i3-msg 'exec ssh-add &' # 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/thunderbird' exec --no-startup-id i3-msg 'exec /usr/bin/spotify' +exec --no-startup-id i3-msg 'exec /usr/bin/clementine' # Set wallpaper exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg @@ -191,17 +192,16 @@ workspace_layout tabbed # Screen lock bindsym $mod+mod1+l exec "~/Bin/lock.sh" -# Open term -bindsym $mod+x exec lilyterm - # Multimedia keys -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle +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 `pactl info|grep Sink|cut -d: -f 3` -5% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute `pactl info|grep Sink|cut -d: -f 3` toggle + # Spotify 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 XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next + # Clementine 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 @@ -216,7 +216,8 @@ client.focused_inactive #333333 #333333 #888888 #292d2e client.unfocused #333333 #333333 #888888 #292d2e 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="Clementine"] border none, move container to workspace 3 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