This commit is contained in:
2018-12-16 13:06:16 +01:00
parent 68f8e15b94
commit 6b730ce230
6 changed files with 83 additions and 42 deletions

View File

@@ -29,7 +29,7 @@ client.urgent $urgent-bg-color $urgent-bg-color $text-color
# is used in the bar {} block below.
#font pango:monospace 8
#font pango:Liberation Sans 10
font pango:System San Francisco Display 8
font pango:System San Francisco Display 10
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@@ -124,7 +124,8 @@ set $ws10 "10"
# Define monitor outputs
set $internal eDP1
set $external_1 DP2-1
set $external_1 DP2-2
set $external_tv DP2-1
# switch to workspace
bindsym $mod+1 workspace $ws1
@@ -150,12 +151,13 @@ bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# asssign workspace to apps
assign [class="Google-chrome-unstable"] $ws1
assign [class="Rambox"] $ws2
#assign workspaces to monitors
workspace $ws1 output $external_1
workspace $ws2 output $internal
workspace $ws3 output $external_tv
# asssign workspace to apps
assign [class="google-chrome"] $ws1
# reload the configuration file
bindsym $mod+Shift+c reload
@@ -202,9 +204,11 @@ bindsym $mod+r mode "resize"
## Manual management of external displays
# Set the shortcuts and what they do
for_window [class="Yad"] floating enable
set $mode_display ext1->int (2), External (x), Internal (i)
set $mode_display ext1->int->tv (3), ext1->int (2), External (x), Internal (i)
mode "$mode_display" {
bindsym 3 exec --no-startup-id xrandr --output $internal --mode 1920x1080 --pos 1920x0 --rotate normal --output $external_tv --mode 1920x1080 --pos 3840x0 --rotate normal -- output $external_1 --primary --mode 1920x1080 --pos 0x0 --rotate normal, mode "default"
bindsym 2 exec --no-startup-id xrandr --output $external_1 --primary --auto --left-of $internal, mode "default"
bindsym x exec --no-startup-id xrandr --output $external_1 --primary --auto, mode "default"
bindsym i exec --no-startup-id xrandr --output $internal --primary --auto, mode "default"
@@ -263,13 +267,15 @@ exec i3-msg workspace $ws1
# Start default applications
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec greenclip daemon
exec blueman-applet
exec_always --no-startup-id numlockx on
exec_always --no-startup-id sudo tlp start
exec --no-startup-id greenclip daemon
exec --no-startup-id blueman-applet
exec --no-startup-id nm-applet
exec libinput-gestures-setup start
exec clipit
exec --no-startup-id clipit
exec insync start
# auto started by browser
#exec keepassxc
exec rambox
exec google-chrome-unstable
exec google-chrome-stable
exec synclient TouchpadOff=1