Squashed 'i3/' changes from dd4b0c9..3b59540

3b59540 Some cleanup, more monitor stuff
2a7e4c5 Add monitor setup

git-subtree-dir: i3
git-subtree-split: 3b59540cda64e740d296c3c2928d7e5696304bbd
This commit is contained in:
murgi
2017-05-24 17:39:04 +02:00
parent 13ace96ffd
commit 1d94a73b6f
6 changed files with 154 additions and 46 deletions

View File

@@ -117,7 +117,8 @@ bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+Shift+c exec "i3-msg reload && /usr/bin/notify-send -t 5000 --urgency=low 'Reload' 'Reloaded i3 config'"
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
@@ -150,9 +151,9 @@ mode "resize" {
bindsym $mod+r mode "resize"
# Sound
bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ unmute
bindsym XF86AudioLowerVolume exec amixer set Master 5%- unmute
bindsym XF86AudioMute exec amixer set Master 1+ toggle
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ unmute
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- unmute
bindsym XF86AudioMute exec "amixer set Master 1+ toggle && amixer -c 0 set IEC958 1+ toggle"
#Rofi
bindsym $mod+d exec --no-startup-id "rofi -show drun"
@@ -162,7 +163,7 @@ bindsym Mod1+Tab exec --no-startup-id "rofi -show window"
bindsym Mod1+F2 exec --no-startup-id "rofi -show run"
#Lock
bindsym $mod+Escape exec --no-startup-id "i3lock -c 000000 -f"
bindsym $mod+Escape exec --no-startup-id "i3lock -d -c 000000 -f"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
@@ -179,7 +180,7 @@ exec --no-startup-id "polybar bottom"
exec --no-startup-id "xfsettingsd"
exec --no-startup-id "xfce4-power-manager"
exec --no-startup-id "owncloud"
exec --no-startup-id "caffeine"
#exec --no-startup-id "caffeine"
#Colors
# class border backgr. text indicator child_border
@@ -191,3 +192,14 @@ client.focused_inactive #222222 #222222 #a9a9a9 #222222
client.urgent #4A4A4A #4A4A4A #f7f7f7 #4A4A4A
hide_edge_borders both
# Change monitor mirroring
bindsym XF86Display exec --no-startup-id "/usr/local/bin/switch_monitors.sh"
# pdfpc
assign [class="Pdfpc" window_role="presenter"] 1
assign [class="Pdfpc" window_role="presentation"] 2
# multi monitor
workspace 1 output eDP-1
workspace 2 output HDMI-1