Some i3-config cleaning
This commit is contained in:
@@ -171,10 +171,9 @@ bindsym $mod+n workspace next
|
||||
bindsym $mod+p workspace prev
|
||||
|
||||
# PC specific configurations:
|
||||
# WORKSTATION:
|
||||
# WORKSTATION START
|
||||
{%@@ if profile == "work" @@%}
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
|
||||
bar {
|
||||
position bottom
|
||||
colors {
|
||||
@@ -196,23 +195,23 @@ bindsym $mod+Shift+BackSpace exec "xlock -mode grav -startCmd /share/bin/isweg -
|
||||
|
||||
# Custom Workspaces
|
||||
exec --no-startup-id "firefox"
|
||||
|
||||
for_window [class="Firefox"] move container to workspace 9
|
||||
|
||||
# Monitors
|
||||
#mainscreen
|
||||
set $monitor1 "HDMI-1"
|
||||
#side
|
||||
set $monitor2 "HDMI-2"
|
||||
set $monitor1 "HDMI-1" # Primary
|
||||
set $monitor2 "HDMI-2" # Secondary
|
||||
|
||||
workspace $ws10 output $monitor2
|
||||
workspace $ws9 output $monitor2
|
||||
|
||||
bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
|
||||
{%@@ endif @@%}
|
||||
|
||||
# LAPTOP
|
||||
# WORKSTATION END
|
||||
|
||||
# LAPTOP START
|
||||
|
||||
{%@@ if profile == "laptop" @@%}
|
||||
# Locking
|
||||
@@ -220,8 +219,6 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop"
|
||||
|
||||
# Custom Workspaces
|
||||
# exec --no-startup-id "chromium-browser"
|
||||
|
||||
for_window [class="Thunderbird"] move container to workspace 6
|
||||
# doesnt work
|
||||
# for_window [class="spotify"] move container to workspace 7
|
||||
@@ -231,10 +228,8 @@ for_window [class="Chromium"] move container to workspace 9
|
||||
for_window [class="Firefox"] move container to workspace 9
|
||||
|
||||
# Monitors
|
||||
# integrated
|
||||
set $monitor1 "eDP-1"
|
||||
# secondary
|
||||
set $monitor2 "HDMI-1"
|
||||
set $monitor1 "eDP-1" # Integrated
|
||||
set $monitor2 "HDMI-1" # pot. Secondary
|
||||
|
||||
workspace $ws10 output $monitor2
|
||||
|
||||
@@ -248,6 +243,9 @@ gaps inner 8
|
||||
# Ranger
|
||||
bindsym $mod+e exec $terminal ranger
|
||||
|
||||
exec_always --no-startup-id ~/.config/polybar/start.sh &
|
||||
exec_always --no-startup-id dunst
|
||||
exec_always --no-startup-id ~/.config/polybar/start.sh & # Fancy Bar
|
||||
exec_always --no-startup-id dunst # Notification Manager
|
||||
|
||||
{%@@ endif @@%}
|
||||
|
||||
# LAPTOP END
|
||||
|
||||
Reference in New Issue
Block a user