splitting config for work or home
This commit is contained in:
@@ -50,7 +50,7 @@ bindsym F6 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
# Workspaces #
|
||||
##############
|
||||
|
||||
include /etc/i3/home
|
||||
include /etc/i3/work
|
||||
|
||||
###########################
|
||||
#Design
|
||||
@@ -99,11 +99,9 @@ client.background $bg
|
||||
###########
|
||||
# Startup #
|
||||
###########
|
||||
#exec --no-startup-id xrandr --output eDP-1 --primary --output DP-5 --left-of eDP-1 --output DP-4 --left-of DP-5
|
||||
exec_always --no-startup-id /usr/local/share/dotfiles/scripts/wallpapers.sh
|
||||
exec_always --no-startup-id "killall picom ; picom"
|
||||
exec_always --no-startup-id "killall dunst ; dunst"
|
||||
exec_always --no-startup-id "killall polybar ; polybar HDMI-1 & polybar HDMI-0 &"
|
||||
|
||||
#################
|
||||
# Apps shortcut #
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
set $monitor0 DP-4
|
||||
set $monitor1 DP-5
|
||||
set $monitor2 eDP-1
|
||||
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
|
||||
workspace $ws1 output $monitor0
|
||||
workspace $ws2 output $monitor0
|
||||
workspace $ws3 output $monitor0
|
||||
workspace $ws4 output $monitor1
|
||||
workspace $ws5 output $monitor1
|
||||
workspace $ws6 output $monitor1
|
||||
workspace $ws7 output $monitor2
|
||||
workspace $ws8 output $monitor2
|
||||
workspace $ws9 output $monitor2
|
||||
|
||||
bindsym $mod+mod2+KP_1 workspace $ws1
|
||||
bindsym $mod+mod2+KP_2 workspace $ws2
|
||||
bindsym $mod+mod2+KP_3 workspace $ws3
|
||||
bindsym $mod+mod2+KP_4 workspace $ws4
|
||||
bindsym $mod+mod2+KP_5 workspace $ws5
|
||||
bindsym $mod+mod2+KP_6 workspace $ws6
|
||||
bindsym $mod+mod2+KP_7 workspace $ws7
|
||||
bindsym $mod+mod2+KP_8 workspace $ws8
|
||||
bindsym $mod+mod2+KP_9 workspace $ws9
|
||||
|
||||
bindsym $mod+Control+mod2+KP_1 move container to workspace $ws1
|
||||
bindsym $mod+Control+mod2+KP_2 move container to workspace $ws2
|
||||
bindsym $mod+Control+mod2+KP_3 move container to workspace $ws3
|
||||
bindsym $mod+Control+mod2+KP_4 move container to workspace $ws4
|
||||
bindsym $mod+Control+mod2+KP_5 move container to workspace $ws5
|
||||
bindsym $mod+Control+mod2+KP_6 move container to workspace $ws6
|
||||
bindsym $mod+Control+mod2+KP_7 move container to workspace $ws7
|
||||
bindsym $mod+Control+mod2+KP_8 move container to workspace $ws8
|
||||
bindsym $mod+Control+mod2+KP_9 move container to workspace $ws9
|
||||
|
||||
exec --no-startup-id xrandr --output DP-5 --primary --mode 1920x1080 --scale 1x1 --output eDP-1 --right-of DP-5 --mode 1920x1200 --scale 1x1 --output DP-4 --left-of DP-5 --mode 1920x1080 --scale 1x1
|
||||
exec_always --no-startup-id "killall polybar ; polybar DP-5 & polybar DP-4 & polybar eDP-1"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
;==========================================================
|
||||
|
||||
include-file = /etc/polybar/colors.ini
|
||||
include-file = /etc/polybar/home.ini
|
||||
include-file = /etc/polybar/work.ini
|
||||
|
||||
[module/separator]
|
||||
type = custom/text
|
||||
@@ -122,7 +122,7 @@ label-indicator-background = ${colors.primary}
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix = " "
|
||||
format-prefix-font = 3
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage_used:2%%
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
[bar/DP-4]
|
||||
monitor = DP-4
|
||||
|
||||
width = 100%
|
||||
height = 30px
|
||||
radius = 0
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 3px
|
||||
|
||||
border-size = 0pt
|
||||
|
||||
padding-left = 10px
|
||||
padding-right = 0px
|
||||
|
||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||
|
||||
fixed-center = true
|
||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||
modules-center = i3
|
||||
modules-right = xkeyboard separator dateprefix date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
[bar/DP-5]
|
||||
monitor = DP-5
|
||||
|
||||
width = 100%
|
||||
height = 30px
|
||||
radius = 0
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 3px
|
||||
|
||||
border-size = 0pt
|
||||
|
||||
padding-left = 10px
|
||||
padding-right = 0px
|
||||
|
||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||
|
||||
fixed-center = true
|
||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||
modules-center = i3
|
||||
modules-right = pacman separator xkeyboard separator dateprefix date systray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
[bar/eDP-1]
|
||||
monitor = eDP-1
|
||||
|
||||
width = 100%
|
||||
height = 30px
|
||||
radius = 0
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 3px
|
||||
|
||||
border-size = 0pt
|
||||
|
||||
padding-left = 10px
|
||||
padding-right = 0px
|
||||
|
||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||
|
||||
fixed-center = true
|
||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||
modules-center = i3
|
||||
modules-right = xkeyboard separator dateprefix date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
@@ -86,6 +86,7 @@ listview {
|
||||
background-color: @transparent;
|
||||
border: 1px;
|
||||
border-color: @blue;
|
||||
columns: 2;
|
||||
}
|
||||
|
||||
element {
|
||||
|
||||
Reference in New Issue
Block a user