commit 6828193b0704c2ca3a082f7d65705c8bf7b64e18 Author: Anas Elgarhy - linux Date: Sun Feb 20 17:45:28 2022 +0200 init diff --git a/.config/i3/arcolinux-archive.theme b/.config/i3/arcolinux-archive.theme new file mode 100644 index 0000000..e4417e6 --- /dev/null +++ b/.config/i3/arcolinux-archive.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Archive + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #5f676a #a9a9a9 + urgent_workspace #a9a9a9 #e82951 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Archive + + # Window color settings + # class border backgr. text indicator + client.focused #2B6473 #2B6473 #FFA000 #004050 + client.unfocused #004050 #004050 #cccccc #004050 + client.focused_inactive #004050 #004050 #cccccc #004050 + client.placeholder #004050 #004050 #cccccc #004050 + client.urgent #900000 #900000 #ffffff #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-default.theme b/.config/i3/arcolinux-default.theme new file mode 100644 index 0000000..19c55b7 --- /dev/null +++ b/.config/i3/arcolinux-default.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Default + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Default + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-dracut.theme b/.config/i3/arcolinux-dracut.theme new file mode 100644 index 0000000..df9d55f --- /dev/null +++ b/.config/i3/arcolinux-dracut.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Dracut + + # i3 bar colors + # variable border background Text + + colors { + background #3c3b37 + statusline #dcdccc + separator #666666 + + # colorclass border backgr. text + focused_workspace #93b3a3 #3c3b37 #93b3a3 + active_workspace #ffcfaf #3c3b37 #ffcfaf + inactive_workspace #636363 #3c3b37 #dcdccc + urgent_workspace #dca3a3 #3c3b37 #dca3a3 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Dracut + + # Window color settings + # class border backgr. text indicator + client.focused #ffcfaf #ffcfaf #e5e5e5 #ffcfaf + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-firedust.theme b/.config/i3/arcolinux-firedust.theme new file mode 100644 index 0000000..a82d321 --- /dev/null +++ b/.config/i3/arcolinux-firedust.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Firedust + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Firedust + + # Window color settings + # class border backgr. text indicator + client.focused #d64937 #d64937 #2D2D2D #d64937 + client.unfocused #2D2D2D #2d2d2d #dcdcdc #292d2e + client.focused_inactive #2d2d2d #2d2d2d #dcdcdc #484e50 + client.placeholder #2d2d2d #2d2d2d #dcdcdc #484e502 + client.urgent #2D2D2D #2D2D2D #dcdcdc #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-frama.theme b/.config/i3/arcolinux-frama.theme new file mode 100644 index 0000000..f3adafc --- /dev/null +++ b/.config/i3/arcolinux-frama.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Frama + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #333333 #AFD700 #ffffff + active_workspace #333333 #222222 #888888 + inactive_workspace #333333 #222222 #888888 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Frama + + # Window color settings + # class border backgr. text indicator + client.focused #AFD700 #AFD700 #000000 #AFD700 + client.unfocused #111111 #768e10 #000000 #000000 + client.focused_inactive #111111 #768e10 #000000 #000000 + client.placeholder #111111 #768e10 #000000 #000000 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-gravemind.theme b/.config/i3/arcolinux-gravemind.theme new file mode 100644 index 0000000..5f78c5b --- /dev/null +++ b/.config/i3/arcolinux-gravemind.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Gravemind + + # i3 bar colors + # variable border background Text + + colors { + background #4b4b4b + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Gravemind + + # Window color settings + # class border backgr. text indicator + client.focused #3c5bcb #3c5bcb #dddddd #3c5bcb + client.unfocused #000000 #000000 #555555 #292d2e + client.focused_inactive #000000 #000000 #555555 #292d2e + client.placeholder #000000 #000000 #555555 #292d2e + client.urgent #2f343a #900000 #ffffff #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-mango.theme b/.config/i3/arcolinux-mango.theme new file mode 100644 index 0000000..e699f2c --- /dev/null +++ b/.config/i3/arcolinux-mango.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mango + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #fdb95b + + # colorclass border backgr. text + focused_workspace #a9a9a9 #fdb95b #000000 + active_workspace #a9a9a9 #ffddaf #000000 + inactive_workspace #a9a9a9 #5f676a #eeeeee + urgent_workspace #a9a9a9 #d42121 #eeeeee + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mango + + # Window color settings + # class border backgr. text indicator + client.focused #242424 #fdb95b #ffffff #fdb95b + client.unfocused #222222 #ffddaf #ffffff #ffddaf + client.focused_inactive #222222 #ffddaf #ffffff #ffddaf + client.placeholder #242424 #242424 #ffffff + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-mastermind.theme b/.config/i3/arcolinux-mastermind.theme new file mode 100644 index 0000000..7fb1ec6 --- /dev/null +++ b/.config/i3/arcolinux-mastermind.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mastermind + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #e82951 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mastermind + + # Window color settings + # class border backgr. text indicator + client.focused #4c7899 #4c7899 #ffffff #4c7899 + client.unfocused #333333 #222222 #888888 #292d2e + client.focused_inactive #333333 #222222 #888888 #292d2e + client.placeholder #333333 #222222 #888888 #292d2e + client.urgent #900000 #900000 #ffffff #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-mater.theme b/.config/i3/arcolinux-mater.theme new file mode 100644 index 0000000..5bdb3b5 --- /dev/null +++ b/.config/i3/arcolinux-mater.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mater + + # i3 bar colors + # variable border background Text + + colors { + background #a6a2a2 + statusline #333333 + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #222222 #eeeeee + active_workspace #a9a9a9 #222222 #eeeeee + inactive_workspace #a6a2a2 #a6a2a2 #333131 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mater + + # Window color settings + # class border backgr. text indicator + client.focused #a9a9a9 #a9a9a9 #e5e5e5 #a9a9a9 + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-mind.theme b/.config/i3/arcolinux-mind.theme new file mode 100644 index 0000000..8ee6c03 --- /dev/null +++ b/.config/i3/arcolinux-mind.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mind + + # i3 bar colors + # variable border background Text + + colors { + background #202A2E + statusline #F9FAF9 + separator #454947 + + # colorclass border backgr. text + focused_workspace #F9FAF9 #16a085 #292F34 + active_workspace #595B5B #353836 #FDF6E3 + inactive_workspace #595B5B #202A2E #EEE8D5 + urgent_workspace #e82951 #e82951 #FDF6E3 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mind + + # Window color settings + # class border backgr. text indicator + client.focused #556064 #556064 #80FFF9 #FDF6E3 + client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948 + client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 + client.placeholder #2F3D44 #2F3D44 #1ABC9C #454948 + client.urgent #CB4B16 #FDF6E3 #1ABC9C #CB4B16 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-mordor.theme b/.config/i3/arcolinux-mordor.theme new file mode 100644 index 0000000..cf7e0be --- /dev/null +++ b/.config/i3/arcolinux-mordor.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mordor + + # i3 bar colors + # variable border background Text + + colors { + background #454242 + statusline #eeeeee + separator #b5b3b3 + + # colorclass border backgr. text + focused_workspace #eeae0a #222222 #eeae0a + active_workspace #a9a9a9 #222222 #eeeeee + inactive_workspace #a9a9a9 #5f676a #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #eeeeee + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mordor + + # Window color settings + # class border backgr. text indicator + client.focused #eeae0a #eeae0a #ffffff #eeae0a + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-nantes.theme b/.config/i3/arcolinux-nantes.theme new file mode 100644 index 0000000..4f7f8ca --- /dev/null +++ b/.config/i3/arcolinux-nantes.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Nantes + + # i3 bar colors + # variable border background Text + + colors { + background #000000 + statusline #ffffff + separator #666666 + + # colorclass border backgr. text + focused_workspace #008fff #007fff #ffffff + active_workspace #333333 #5f676a #ffffff + inactive_workspace #333333 #222222 #888888 + urgent_workspace #aa0000 #990000 #ffffff + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Nantes + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-noclue.theme b/.config/i3/arcolinux-noclue.theme new file mode 100644 index 0000000..bfebfe5 --- /dev/null +++ b/.config/i3/arcolinux-noclue.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Noclue + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #DAD58B + separator #666666 + + # colorclass border backgr. text + focused_workspace #333333 #DAD58B #000000 + active_workspace #333333 #222222 #aaaaaa + inactive_workspace #333333 #222222 #aaaaaa + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Noclue + + # Window color settings + # class border backgr. text indicator + client.focused #DAD58B #DAD58B #000000 #DAD58B + client.unfocused #DAAE8B #DAAE8B #000000 #DAAE8B + client.focused_inactive #DAAE8B #DAAE8B #000000 #DAAE8B + client.placeholder #DAAE8B #DAAE8B #000000 #DAAE8B + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-pinky.theme b/.config/i3/arcolinux-pinky.theme new file mode 100644 index 0000000..afec209 --- /dev/null +++ b/.config/i3/arcolinux-pinky.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Pinky from ArcoLinux Coritani + + # i3 bar colors + # variable border background Text + + colors { + background #2F3D44 + statusline #F9FAF9 + separator #454947 + + # colorclass border backgr. text + focused_workspace #F9FAF9 #e82951 #F9FAF9 + active_workspace #595B5B #2F3D44 #F9FAF9 + inactive_workspace #595B5B #202A2E #F9FAF9 + urgent_workspace #e82951 #e82951 #F9FAF9 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Pinky from ArcoLinux Coritani + + # Window color settings + # class border backgr. text indicator + client.focused #FFB6C1 #FFB6C1 #e82951 #FDF6E3 + client.unfocused #2F3D44 #2F3D44 #FFB6C1 #454948 + client.focused_inactive #2F3D44 #2F3D44 #FFB6C1 #454948 + client.placeholder #2F3D44 #2F3D44 #FFB6C1 #454948 + client.urgent #CB4B16 #FDF6E3 #FFB6C1 #CB4B16 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-ruins.theme b/.config/i3/arcolinux-ruins.theme new file mode 100644 index 0000000..ccf51a5 --- /dev/null +++ b/.config/i3/arcolinux-ruins.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Ruins + + # i3 bar colors + # variable border background Text + + colors { + background #303030 + statusline #d0e1d4 + separator #c1d0c1 + + # colorclass border backgr. text + focused_workspace #FF6F54 #FF6F54 #FFF2CE + active_workspace #FF6F54 #FF6F54 #FFF2CE + inactive_workspace #64635f #64635f #a7afa9 + urgent_workspace #e82951 #e82951 #FFF2CE + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Ruins + + # Window color settings + # class border backgr. text indicator + client.focused #FF6F54 #FF6F54 #e5e5e5 #FF6F54 + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #aaaaaa #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-solar.theme b/.config/i3/arcolinux-solar.theme new file mode 100644 index 0000000..f00ff40 --- /dev/null +++ b/.config/i3/arcolinux-solar.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Solar + + # i3 bar colors + # variable border background Text + + colors { + background #657b83 + statusline #eee8d5 + separator #073642 + + # colorclass border backgr. text + focused_workspace #657b83 #073642 #eee8d5 + active_workspace #eee8d5 #657b83 #eee8d5 + inactive_workspace #657b83 #657b83 #eee8d5 + urgent_workspace #657b83 #d42121 #eee8d5 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Solar + + # Window color settings + # class border backgr. text indicator + client.focused #eee8d5 #eee8d5 #073642 #eee8d5 + client.unfocused #073642 #073642 #eee8d5 #073642 + client.focused_inactive #073642 #073642 #eee8d5 #073642 + client.placeholder #073642 #073642 #eee8d5 #073642 + client.urgent #657b83 #d42121 #eee8d5 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-sunset.theme b/.config/i3/arcolinux-sunset.theme new file mode 100644 index 0000000..63cfd3c --- /dev/null +++ b/.config/i3/arcolinux-sunset.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Sunset + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #e82951 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Sunset + + # Window color settings + # class border backgr. text indicator + client.focused #FFAF00 #FFAF00 #333333 #FFAF00 + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #aaaaaa #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #ffffff #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-var-ashes.theme b/.config/i3/arcolinux-var-ashes.theme new file mode 100644 index 0000000..b39bf86 --- /dev/null +++ b/.config/i3/arcolinux-var-ashes.theme @@ -0,0 +1,69 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Var Ashes + + # i3 bar colors + # variable border background Text + + set $base00 #1C2023 + set $base01 #393F45 + set $base02 #565E65 + set $base03 #747C84 + set $base04 #ADB3BA + set $base05 #C7CCD1 + set $base06 #DFE2E5 + set $base07 #F3F4F5 + set $base08 #C7AE95 + set $base09 #C7C795 + set $base0A #AEC795 + set $base0B #95C7AE + set $base0C #95AEC7 + set $base0D #AE95C7 + set $base0E #C795AE + set $base0F #C79595 + + colors { + background $base00 + separator $base01 + statusline $base04 + + # colorclass border backgr. text + focused_workspace $base05 $base0D $base00 + active_workspace $base05 $base03 $base00 + inactive_workspace $base03 $base01 $base05 + urgent_workspace $base08 $base08 $base00 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Var Ashes + + set $base00 #1C2023 + set $base01 #393F45 + set $base02 #565E65 + set $base03 #747C84 + set $base04 #ADB3BA + set $base05 #C7CCD1 + set $base06 #DFE2E5 + set $base07 #F3F4F5 + set $base08 #C7AE95 + set $base09 #C7C795 + set $base0A #AEC795 + set $base0B #95C7AE + set $base0C #95AEC7 + set $base0D #AE95C7 + set $base0E #C795AE + set $base0F #C79595 + + # Window color settings + # class border backgr. text indicator + client.focused $base05 $base0D $base00 $base0 + client.unfocused $base01 $base00 $base05 $base01 + client.focused_inactive $base01 $base01 $base05 $base03 + client.placeholder $base00 $base00 $base05 $base00 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background $base07 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-var-nord.theme b/.config/i3/arcolinux-var-nord.theme new file mode 100644 index 0000000..3558a87 --- /dev/null +++ b/.config/i3/arcolinux-var-nord.theme @@ -0,0 +1,72 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Var Nord + + # i3 bar colors + # variable border background Text + + # Nord theme colors + # https://www.nordtheme.com/docs/colors-and-palettes + + set $nord0 #2E3440 + set $nord1 #3B4252 + set $nord2 #434C5E + set $nord3 #4C566A + set $nord4 #D8DEE9 + set $nord5 #E5E9F0 + set $nord6 #ECEFF4 + set $nord7 #8FBCBB + set $nord8 #88C0D0 + set $nord9 #81A1C1 + set $nord10 #5E81AC + set $nord11 #BF616A + set $nord12 #D08770 + set $nord13 #EBCB8B + set $nord14 #A3BE8C + set $nord15 #B48EAD + + colors { + background $nord0 + statusline $nord9 + separator $nord10 + + # colorclass border backgr. text + focused_workspace $nord3 $nord8 $nord4 + active_workspace $nord3 $nord8 $nord4 + inactive_workspace $nord8 $nord10 $nord4 + urgent_workspace $nord3 $nord11 $nord4 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Var Nord + + set $nord0 #2E3440 + set $nord1 #3B4252 + set $nord2 #434C5E + set $nord3 #4C566A + set $nord4 #D8DEE9 + set $nord5 #E5E9F0 + set $nord6 #ECEFF4 + set $nord7 #8FBCBB + set $nord8 #88C0D0 + set $nord9 #81A1C1 + set $nord10 #5E81AC + set $nord11 #BF616A + set $nord12 #D08770 + set $nord13 #EBCB8B + set $nord14 #A3BE8C + set $nord15 #B48EAD + + # Window color settings + # class border backgr. text indicator + client.focused $nord15 $nord15 $nord4 $nord15 + client.unfocused $nord2 $nord2 $nord6 $nord2 + client.focused_inactive $nord2 $nord2 $nord6 $nord2 + client.placeholder $nord2 $nord2 $nord6 $nord2 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background $nord04 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-var-sulpher.theme b/.config/i3/arcolinux-var-sulpher.theme new file mode 100644 index 0000000..4f5655b --- /dev/null +++ b/.config/i3/arcolinux-var-sulpher.theme @@ -0,0 +1,69 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Var Sulpher + + # i3 bar colors + # variable border background Text + + set $base00 #202746 + set $base01 #293256 + set $base02 #5e6687 + set $base03 #6b7394 + set $base04 #898ea4 + set $base05 #979db4 + set $base06 #dfe2f1 + set $base07 #f5f7ff + set $base08 #c94922 + set $base09 #c76b29 + set $base0A #c08b30 + set $base0B #ac9739 + set $base0C #22a2c9 + set $base0D #3d8fd1 + set $base0E #6679cc + set $base0F #9c637a + + colors { + background $base00 + separator $base01 + statusline $base04 + + # colorclass border backgr. text + focused_workspace $base05 $base0D $base00 + active_workspace $base05 $base03 $base00 + inactive_workspace $base03 $base01 $base05 + urgent_workspace $base08 $base08 $base00 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Var Sulpher + + set $base00 #202746 + set $base01 #293256 + set $base02 #5e6687 + set $base03 #6b7394 + set $base04 #898ea4 + set $base05 #979db4 + set $base06 #dfe2f1 + set $base07 #f5f7ff + set $base08 #c94922 + set $base09 #c76b29 + set $base0A #c08b30 + set $base0B #ac9739 + set $base0C #22a2c9 + set $base0D #3d8fd1 + set $base0E #6679cc + set $base0F #9c637a + + # Window color settings + # class border backgr. text indicator + client.focused $base05 $base0D $base00 $base0D + client.unfocused $base01 $base00 $base05 $base01 + client.focused_inactive $base01 $base01 $base05 $base03 + client.placeholder $base00 $base00 $base05 $base00 + client.urgent $base08 $base08 $base00 $base08 + + client.background $base07 + + ##STOP THEMING WM diff --git a/.config/i3/arcolinux-zion.theme b/.config/i3/arcolinux-zion.theme new file mode 100644 index 0000000..5135c96 --- /dev/null +++ b/.config/i3/arcolinux-zion.theme @@ -0,0 +1,70 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Zion + + # i3 bar colors + # variable border background Text + + colors { + # Background color of the bar + background #4a4a46 + + # Text color to be used for the statusline + statusline #e3bbf1 + + # Text color to be used for the separator + separator #e3bbf1 + + # colorclass border background text + # Border, background and text color for a workspace + # button when the workspace has focus. + focused_workspace #9742b5 #9742b5 #fdf6e3 + + # Border, background and text color for a workspace button when + # the workspace is active (visible) on some output, but the focus is on another one. + # You can only tell this apart from the focused workspace when you are using multiple + # monitors. + active_workspace #9742b5 #9742b5 #fdf6e3 + + # Border, background and text color for a workspace button when the workspace does + # not have focus and is not active (visible) on any output. This will be the case + # for most workspaces. + inactive_workspace #002b36 #002b36 #fdf6e3 + + # Border, background and text color for a workspace button when the workspace contains + # a window with the urgency hint set. + urgent_workspace ##9742b5 #d33682 #fdf6e3 + + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Zion + + # Window color settings + # class border background text indicator + + # A client which currently has the focus. + client.focused #9742b5 #9742b5 #ffffff #9742b5 + + # A client which is not the focused one of its container. + client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C + + # A client which is the focused one of its container, but it does not have the focus at the moment. + client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C + + # Background and text color are used to draw placeholder window + # contents (when restoring layouts). Border and indicator are ignored. + client.placeholder #2C2C2C #2C2C2C #ffffff #2C2C2C + + # A client which has its urgency hint activated. + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + # Background color which will be used to paint the background + # of the client window on top of which the client will be rendered. + # Only clients which do not cover the whole area of this window expose + # the color. Note that this colorclass only takes a single color. + client.background #000000 + + ##STOP THEMING WM diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..ccff90a --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,879 @@ +################# Start of all the settings + +# KEY DEFINITIONS TO REMEMBER +# $mod = Set below +# Mod4 = Super key +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + +################# Define the $mod variable/key + +# Key to rule them all : Super(Windows) or Alt key - see definition above +# set Super key +set $mod Mod4 + +################# Define the movements keys - variables + +# This is setup for qwerty +# set $right to m if using azerty keyboard +set $up l +set $down k +set $left j +set $right semicolon + +################# Single and Dual screen + +# current displays +exec --no-startup-id xrandr --output DP0 --right-of HDMI-0 --auto + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +# exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +# exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +# exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output HDMI-2 --right-of HDMI-1 --auto + +# current setup + +set $firstMonitor HDMI-0 +set $secondMonitor DP0 + +# Other Examples + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +#set $firstMonitor HDMI-1 +#set $secondMonitor HDMI-2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + +################# menu's in arcolinux + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# start xfce4-appfinder +bindsym mod1+F2 exec --no-startup-id xfce4-appfinder --collapsed + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start xlunch app launcher +# bindsym mod1+F5 exec --no-startup-id xlunch --config ~/.config/xlunch/default.conf --input ~/.config/xlunch/entries.dsv + +# start rofi full +bindsym $mod+F11 exec --no-startup-id "rofi -font 'Noto Sans 13' -theme-str 'window {width: 100%;height: 100%;}' -show drun" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show drun -font "Noto Sans 13" + +################# how to exit, logoff, suspend, ... + +# Backup exit +# Press ctrl+alt+x - check toolbar for next choices +bindsym control+mod1+X mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +# set desktop background with custom effect +exec --no-startup-id betterlockscreen -w dim + +# Alternative (set last used background) +exec --no-startup-id source ~/.fehbg + +bindsym $mod+shift+x exec betterlockscreen -l dim + +# ArcoLinux Logout + +bindsym $mod+Shift+e exec --no-startup-id arcolinux-logout +#bindsym $mod+X exec --no-startup-id arcolinux-logout + +################# reload changed configuration + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# reload the configuration file +bindsym $mod+Shift+c reload + +################# Stopping an application + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + +################# Moving around in i3 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +###### +#bindsym $mod+Shift+l exec "i3lock" + +################# moving around workspaces + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +# navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + +################# Tiling parameters + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +# bindsym $mod+d focus child + +################# resize + +# Resizing by 1 +bindsym $mod+Mod1+Ctrl+Right resize shrink width 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Up resize grow height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Down resize shrink height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Left resize grow width 1 px or 1 ppt + +# old resize keybindings +# resize window (you can also use the mouse for that) + +# bindsym $mod+r mode "resize" + +# mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + # bindsym $left resize shrink width 10 px or 10 ppt + # bindsym $down resize grow height 10 px or 10 ppt + # bindsym $up resize shrink height 10 px or 10 ppt + # bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + # bindsym Left resize shrink width 10 px or 10 ppt + # bindsym Down resize grow height 10 px or 10 ppt + # bindsym Up resize shrink height 10 px or 10 ppt + # bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + # bindsym Return mode "default" + # bindsym Escape mode "default" +# } + +################# choose the font + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + +################# assign applications to workspaces + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Example - make browser start on workspace 3 +# assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 3 +# assign [class="Chromium|Google-chrome"] → 3 + +# Workspace 2 text editor related +# assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +# assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +# assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +# assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +# assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +# assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +# assign [class="Meld"] → 5 + +# Workspace 6 all video related software +# assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +# assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +# assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +# assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +# assign [class="Spotify|spotify"] → 10 +# fix for spotify not moving to workspace 10 +# for_window [class="Spotify"] move to workspace 10 + +################# autostart - execute applications at boot time + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +# Autotiling +exec_always --no-startup-id autotiling + +# Browser +# exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +# Text-editor +# exec --no-startup-id geany +# exec --no-startup-id atom + +# File manager +# exec --no-startup-id thunar + +# Mail clients +# exec --no-startup-id evolution + +# Music +# exec --no-startup-id spotify +for_window [class="Spotify"] focus + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want/need + +# Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +# exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +# exec --no-startup-id dropbox start + +# insync +# exec --no-startup-id insync start + +# volume +# exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +# variety +# exec --no-startup-id variety + +# clipman +# exec --no-startup-id xfce4-clipman + +# Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +# feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +# Polybar +# exec_always --no-startup-id ~/.config/polybar/launch.sh & + +################# system applications + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +# exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +################# applications keyboard shortcuts + +# not workspace related + +# ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +# ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +# conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id alacritty;focus +bindsym $mod+KP_Enter exec --no-startup-id alacritty;focus +bindsym control+mod1+t exec --no-startup-id alacritty; focus +bindsym control+mod1+Return exec --no-startup-id alacritty; focus +bindsym control+mod1+KP_Enter exec --no-startup-id alacritty; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +# System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +# settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +# catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +# arcolinux-logout +bindsym control+mod1+k exec --no-startup-id arcolinux-logout +bindsym control+mod1+l exec --no-startup-id arcolinux-logout + +# rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +# arcolinux conflict +# bindsym $mod+m exec --no-startup-id pragha;focus + +# htop +# arcolinux conflict +# bindsym $mod+h exec --no-startup-id htop;focus + +# pavucontrol +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +# arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +# pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +# xkill +bindsym --release $mod+Escape exec xkill + +# Function Keybinds +# Browser +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +# qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +# Text Editor +# bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +# Basic Draw Tool +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +# Advanced Draw Tool +bindsym $mod+F4 exec --no-startup-id gimp;focus + +# document comparison +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +# video player +bindsym $mod+F6 exec --no-startup-id vlc;focus + +# virtual machine +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +# file management +for_window [class="Dolphin"] focus +bindsym $mod+F8 exec --no-startup-id dolphin;focus +bindsym $mod+Shift+Return exec --no-startup-id dolphin;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id dolphin;focus +bindsym control+mod1+b exec --no-startup-id dolphin;focus + +# mail application +bindsym $mod+F9 exec --no-startup-id evolution;focus +# bindsym $mod+F9 exec --no-startup-id geary;focus +# bindsym control+mod1+e exec --no-startup-id geary;focus + +# music +bindsym $mod+F10 exec --no-startup-id cmus;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + +################# screenshots + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +# bindsym shift+Print exec --no-startup-id shutter + +################# floating or tiled rules + +# floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +# for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Arcolinux-calamares-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +# for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + +# for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + +# for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + +################# give focus to applications + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus +for_window [class="Urxvt"] focus +for_window [class="Alacritty"] focus + +################# variety for wallpapers + +# Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + +################# variety with pywal for your wallpapers/colour schemes + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + +################# audio settings + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +# https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +# bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +# bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +# bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +# bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + +################# xbacklight + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + +################# bar toggle + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + +################# border control + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +# changing border style +# super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border pixel 1 +bindsym $mod+u border none + +# new_window pixel 1 +new_window normal +# new_window none + +# new_float pixel 1 +new_float normal +# new_float none + +################# Popups control + +# Popups during fullscreen mode +popup_during_fullscreen smart + +################# i3 gaps next + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer -5 +# smart_gaps on +# smart_borders on + +################# i3 gaps change + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################# picom of i3wm + +# if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +################# bar appearance + +bar { + height 25 + workspace_buttons yes + font pango:Noto Sans 14 + mode hide + + # position top + position bottom + + # system icons + # tray_output none + # tray_output $firstMonitor + # tray_output $secondMonitor + + # OPTION 1 : i3status + + # type status_command i3status without the config file and + # you will get the standard i3status bar + # Second one is the standard statusbar with my personal settings + + # status_command i3status + # status_command i3status -c ~/.config/i3/i3status.conf + + # OPTION 2 : i3blocks + + # https://github.com/vivien/i3blocks + # another way to provide text in the statusbar + # put hastag in front if not installed + + # status_command i3blocks + # status_command i3blocks -c ~/.config/i3/i3blocks.conf + # status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf + # status_command i3blocks -c ~/.config/i3/i3blocks-original.conf + # status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf + + + # OPTION 3 : conky + + # You can also replace the istatus bar with a conky + # start-conky-i3statusbar.sh is started and conky will follow + # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html + # conky configuration is in conky-i3statusbar + + # status_command ~/.config/i3/start-conky-i3statusbar.sh + + # OPTION 4 : polybar + + # polybar is launched elsewhere - search for the word + # from the opening of the "bar {...}" till the end has to go or hashtagged out + # in order for the system trayicons to show up in polybar + + ##START THEMING BAR + # Theme name : ArcoLinux Default + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + # Theme name : ArcoLinux Default + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM + +######################################## THE END + +################# Scratchpad + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +################# mouse settings in i3 + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + +################# keyboard control + +# NOT USED + +# Settings of arcolinux will be applied +# exec --no-startup-id setxkbmap be +# exec --no-startup-id setxkbmap us +exec_always "setxkbmap -model pc101 -layout us,ara -variant ,, -option grp:win_space_toggle" + +################# unclutter + +# NOT USED + +# get the mouse out of the way with unclutter +# exec --no-startup-id unclutter + + +# Plasma compatibility +# Plasma compatibility improvements +for_window [window_role="pop-up"] floating enable +for_window [window_role="task_dialog"] floating enable + +for_window [class="yakuake"] floating enable +#for_window [class="systemsettings"] floating enable +for_window [class="plasmashell"] floating enable; +for_window [class="Plasma"] floating enable; border none +for_window [title="plasma-desktop"] floating enable; border none +for_window [title="win7"] floating enable; border none +for_window [class="krunner"] floating enable; border none +for_window [class="Kmix"] floating enable; border none +for_window [class="Klipper"] floating enable; border none +for_window [class="Plasmoidviewer"] floating enable; border none +for_window [class="(?i)*nextcloud*"] floating disable +for_window [class="plasmashell" window_type="notification"] border none, move right 700px, move down 450px +no_focus [class="plasmashell" window_type="notification"] + +# Killing the existing window that covers everything +for_window [title="Desktop — Plasma"] kill; floating enable; border none + +# using plasma's logout screen instead of i3's +bindsym $mod+x exec --no-startup-id qdbus-qt5 org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1 diff --git a/.config/i3/config-polybar b/.config/i3/config-polybar new file mode 100644 index 0000000..bd3e1e3 --- /dev/null +++ b/.config/i3/config-polybar @@ -0,0 +1,767 @@ +################# Start of all the settings + +# KEY DEFINITIONS TO REMEMBER +# $mod = Set below +# Mod4 = Super key +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + +################# Define the $mod variable/key + +# Key to rule them all : Super(Windows) or Alt key - see definition above +# set Super key +set $mod Mod4 + +################# Define the movements keys - variables + +# This is setup for qwerty +# set $right to m if using azerty keyboard +set $up l +set $down k +set $left j +set $right semicolon + +################# Single and Dual screen + +# current displays +exec --no-startup-id xrandr --output DP0 --right-of HDMI-0 --auto + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +# exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +# exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +# exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output HDMI-2 --right-of HDMI-1 --auto + +# current setup + +set $firstMonitor HDMI-0 +set $secondMonitor DP0 + +# Other Examples + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +#set $firstMonitor HDMI-1 +#set $secondMonitor HDMI-2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + +################# menu's in arcolinux + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# start xfce4-appfinder +bindsym mod1+F2 exec --no-startup-id xfce4-appfinder --collapsed + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start xlunch app launcher +# bindsym mod1+F5 exec --no-startup-id xlunch --config ~/.config/xlunch/default.conf --input ~/.config/xlunch/entries.dsv + +# start rofi full +bindsym $mod+F11 exec --no-startup-id "rofi -font 'Noto Sans 13' -theme-str 'window {width: 100%;height: 100%;}' -show drun" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show drun -font "Noto Sans 13" + +################# how to exit, logoff, suspend, ... + +# Backup exit +# Press ctrl+alt+x - check toolbar for next choices +bindsym control+mod1+X mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +# ArcoLinux Logout +bindsym $mod+Shift+e exec --no-startup-id arcolinux-logout +bindsym $mod+X exec --no-startup-id arcolinux-logout + +################# reload changed configuration + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# reload the configuration file +bindsym $mod+Shift+c reload + +################# Stopping an application + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + +################# Moving around in i3 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +################# moving around workspaces + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +# navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + +################# Tiling parameters + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +# bindsym $mod+d focus child + +################# resize + +# Resizing by 1 +bindsym $mod+Mod1+Ctrl+Right resize shrink width 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Up resize grow height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Down resize shrink height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Left resize grow width 1 px or 1 ppt + +# old resize keybindings +# resize window (you can also use the mouse for that) + +# bindsym $mod+r mode "resize" + +# mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + # bindsym $left resize shrink width 10 px or 10 ppt + # bindsym $down resize grow height 10 px or 10 ppt + # bindsym $up resize shrink height 10 px or 10 ppt + # bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + # bindsym Left resize shrink width 10 px or 10 ppt + # bindsym Down resize grow height 10 px or 10 ppt + # bindsym Up resize shrink height 10 px or 10 ppt + # bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + # bindsym Return mode "default" + # bindsym Escape mode "default" +# } + +################# choose the font + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + +################# assign applications to workspaces + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Example - make browser start on workspace 3 +# assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 3 +# assign [class="Chromium|Google-chrome"] → 3 + +# Workspace 2 text editor related +# assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +# assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +# assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +# assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +# assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +# assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +# assign [class="Meld"] → 5 + +# Workspace 6 all video related software +# assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +# assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +# assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +# assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +# assign [class="Spotify|spotify"] → 10 +# fix for spotify not moving to workspace 10 +# for_window [class="Spotify"] move to workspace 10 + +################# autostart - execute applications at boot time + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +# Autotiling +exec_always --no-startup-id autotiling + +# Browser +# exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +# Text-editor +# exec --no-startup-id geany +# exec --no-startup-id atom + +# File manager +# exec --no-startup-id thunar + +# Mail clients +# exec --no-startup-id evolution + +# Music +# exec --no-startup-id spotify +for_window [class="Spotify"] focus + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want/need + +# Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +# exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +# exec --no-startup-id dropbox start + +# insync +# exec --no-startup-id insync start + +# volume +# exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +# variety +# exec --no-startup-id variety + +# clipman +# exec --no-startup-id xfce4-clipman + +# Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +# feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +# Polybar +exec_always --no-startup-id ~/.config/polybar/launch.sh & + +################# system applications + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +# exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +################# applications keyboard shortcuts + +# not workspace related + +# ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +# ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +# conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id alacritty;focus +bindsym $mod+KP_Enter exec --no-startup-id alacritty;focus +bindsym control+mod1+t exec --no-startup-id alacritty; focus +bindsym control+mod1+Return exec --no-startup-id alacritty; focus +bindsym control+mod1+KP_Enter exec --no-startup-id alacritty; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +# System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +# settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +# catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +# arcolinux-logout +bindsym control+mod1+k exec --no-startup-id arcolinux-logout +bindsym control+mod1+l exec --no-startup-id arcolinux-logout + +# rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +# arcolinux conflict +# bindsym $mod+m exec --no-startup-id pragha;focus + +# htop +# arcolinux conflict +# bindsym $mod+h exec --no-startup-id htop;focus + +# pavucontrol +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +# arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +# pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +# xkill +bindsym --release $mod+Escape exec xkill + +# Function Keybinds +# Browser +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +# qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +# Text Editor +# bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +# Basic Draw Tool +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +# Advanced Draw Tool +bindsym $mod+F4 exec --no-startup-id gimp;focus + +# document comparison +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +# video player +bindsym $mod+F6 exec --no-startup-id vlc;focus + +# virtual machine +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +# file management +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +# mail application +bindsym $mod+F9 exec --no-startup-id evolution;focus +# bindsym $mod+F9 exec --no-startup-id geary;focus +# bindsym control+mod1+e exec --no-startup-id geary;focus + +# music +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + +################# screenshots + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +# bindsym shift+Print exec --no-startup-id shutter + +################# floating or tiled rules + +# floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +# for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Arcolinux-calamares-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +# for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + +# for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + +# for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + +################# give focus to applications + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus +for_window [class="Urxvt"] focus + +################# variety for wallpapers + +# Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + +################# variety with pywal for your wallpapers/colour schemes + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + +################# audio settings + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +# https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +# bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +# bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +# bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +# bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + +################# xbacklight + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + +################# bar toggle + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + +################# border control + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +# changing border style +# super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border pixel 1 +bindsym $mod+u border none + +# new_window pixel 1 +new_window normal +# new_window none + +# new_float pixel 1 +new_float normal +# new_float none + +################# Popups control + +# Popups during fullscreen mode +popup_during_fullscreen smart + +################# i3 gaps next + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer 5 +# smart_gaps on +# smart_borders on + +################# i3 gaps change + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################# picom of i3wm + +# if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +################# bar appearance + +##START THEMING WM +# Theme name : ArcoLinux Default + +# Window color settings +# class border backgr. text indicator +client.focused #6790EB #6790EB #e5e5e5 #6790EB +client.unfocused #222222 #222222 #aaaaaa #222222 +client.focused_inactive #222222 #222222 #a9a9a9 #222222 +client.placeholder #222222 #222222 #aaaaaa #222222 +client.urgent #d42121 #d42121 #f7f7f7 #d42121 + +client.background #242424 + +##STOP THEMING WM + +######################################## THE END + +################# Scratchpad + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +################# mouse settings in i3 + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + +################# keyboard control + +# NOT USED + +# Settings of arcolinux will be applied +# exec --no-startup-id setxkbmap be +# exec --no-startup-id setxkbmap us + +################# unclutter + +# NOT USED + +# get the mouse out of the way with unclutter +# exec --no-startup-id unclutter diff --git a/.config/i3/conky-i3statusbar b/.config/i3/conky-i3statusbar new file mode 100644 index 0000000..f74a14d --- /dev/null +++ b/.config/i3/conky-i3statusbar @@ -0,0 +1,131 @@ +--[[ +#===================================================================================== +# +# Author : Erik Dubois at http://www.erikdubois.be +# License : Distributed under the terms of GNU GPL version 2 or later +# Documentation English: http://erikdubois.be/category/linux/i3/ +#====================================================================================== + +#====================================================================================== +# +# Source : c +# alternative : sudo apt list --upgradable | wc -l +#====================================================================================== + + +]] + +conky.config = { + out_to_x = false, + own_window = false, + out_to_console = true, + background = false, + max_text_width = 0, + update_interval = 1.0, + total_run_times = 0, + short_units = true, + if_up_strictness = "address", + use_spacer = "left", + override_utf8_locale = false, + cpu_avg_samples = 2 +} + +conky.text = [[ + [ + { + "full_text": " ArcoLinux $kernel ", + "color": "\#fdf6e3", + "background": "\#dc322f", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#dc322f", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${cpu cpu0}%, ${execi 5 sensors|grep 'Core 0'|awk '{print $3}'} ", + "color": "\#fdf6e3", + "background": "\#dc322f", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#e69722", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${mem}/${memmax} (${memperc}%) ", + "color": "\#fdf6e3", + "background": "\#e69722", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#2aa198", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + #"full_text": "  ${texeci 1800 sleep 5; aptitude search '~U' | wc -l} updates ", + "full_text": "  ${texeci 1800 sleep 5; checkupdates | wc -l} updates", + "color": "\#fdf6e3", + "background": "\#2aa198", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  up: ${upspeed enp2s0} down: ${downspeed enp2s0} ", + "color": "\#fdf6e3", + "background": "\#2aa198", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#859900", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + #linux mint + #"full_text": "  ${exec amixer get Master | grep % | awk '{print $4}' | sed 's/[^0-9\%]//g' | head -n1} ", + #arch linux + "full_text": "  ${exec amixer get Master | grep % | awk '{print $5}' | sed 's/[^0-9\%]//g' | head -n1} ", + "color": "\#fdf6e3", + "background": "\#859900", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#6c71c4", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${time %a, %d/%m/%y} ", + "color": "\#fdf6e3", + "background": "\#6c71c4", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${time %H:%M:%S} ", + "color": "\#fdf6e3", + "background": "\#6c71c4", + "separator": true, + "separator_block_width": 0 + } + ], +]] diff --git a/.config/i3/i3blocks-awesome.conf b/.config/i3/i3blocks-awesome.conf new file mode 100644 index 0000000..ae8a564 --- /dev/null +++ b/.config/i3/i3blocks-awesome.conf @@ -0,0 +1,135 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# background +# border +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/local/libexec/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +[CPU] +label= +#command=ps -eo pcpu,comm | sort -k 1 -nr | head -1 +command=ps -Ao pcpu,comm --sort=-pcpu --no-headers | head -n 1 +interval=2 + +[CPU] +label= +command=sensors | grep "Core 0" | awk '{print $3}' +interval=10 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[cpu_usage] +#label=CPU +#interval=10 +#min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + +[Kernel] +label= +command=uname -r +interval=once + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label= +separator=false +interval=30 + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). + +[disk] +label= +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +#[iface] +#instance=enp2s0 +#color=#00FF00 +#interval=10 +#separator=false + +#[wifi] +#instance=wlp3s0 +#interval=10 +#separator=false + +[bandwidth] +label= +instance=enp2s0 +interval=5 + + +# Battery indicator +# +# The battery instance defaults to 0. +#[battery] +#label=BAT +#label=⚡ +#instance=1 +#interval=30 + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +#label=VOL +label= +instance=Master +#instance=PCM +interval=once +signal=10 + +# Date Time +# +[time] +label= +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 diff --git a/.config/i3/i3blocks-original.conf b/.config/i3/i3blocks-original.conf new file mode 100644 index 0000000..c719113 --- /dev/null +++ b/.config/i3/i3blocks-original.conf @@ -0,0 +1,153 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/lib/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=MEM +separator=false +interval=30 + +[memory] +label=SWAP +instance=swap +separator=false +interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +label=HOME +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +color=#00FF00 +interval=10 +separator=false + +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + +[bandwidth] +#instance=eth0 +interval=5 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Date Time +# +[time] +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[temperature] +#label=TEMP +#interval=10 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/.config/i3/i3blocks-rainbow.conf b/.config/i3/i3blocks-rainbow.conf new file mode 100644 index 0000000..0cd345b --- /dev/null +++ b/.config/i3/i3blocks-rainbow.conf @@ -0,0 +1,162 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/lib/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. + + + +# Memory usage +# +# Disk usage +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +color=#a54242 +label=HOME +#instance=/mnt/data +interval=30 + +[memory] +label=SWAP +instance=swap +separator=false +interval=30 + +# The type defaults to "mem" if the instance is not specified. +[memory] +#color=#00FF00 +color=#e97ac8 +label=MEM +separator=false +interval=30 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +color=#FFAF00 +label=CPU +interval=10 +min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + + +# Network interface monitoring +# +[bandwidth] +color=#00FF00 +#instance=eth0 +interval=5 + +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +#color=#00FF00 +interval=10 +separator=false +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Date Time +# +[time] +color=#0099ff +command=date '+%a %d-%m-%Y %H:%M:%S' +interval=5 + +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[temperature] +#label=TEMP +#interval=10 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/.config/i3/i3blocks.conf b/.config/i3/i3blocks.conf new file mode 100644 index 0000000..316e41a --- /dev/null +++ b/.config/i3/i3blocks.conf @@ -0,0 +1,134 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# background +# border +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/lib/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +[CPU] +#command=ps -eo pcpu,comm | sort -k 1 -nr | head -1 +command=ps -Ao pcpu,comm --sort=-pcpu --no-headers | head -n 1 +interval=2 + +[CPU] +label=TEMP +command=sensors | grep "Core 0" | awk '{print $3}' +interval=10 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[cpu_usage] +#label=CPU +#interval=10 +#min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + +[Kernel] +label=KERNEL +command=uname -r +interval=once + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=MEM +separator=false +interval=30 + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). + +[disk] +label=ROOT +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +#[iface] +#instance=enp2s0 +#color=#00FF00 +#interval=10 +#separator=false + +#[wifi] +#instance=wlp3s0 +#interval=10 +#separator=false +# +#[bandwidth] +#label=NET +#instance=enp2s0 +interval=5 + + +# Battery indicator +# +# The battery instance defaults to 0. +#[battery] +#label=BAT +#label=⚡ +#instance=1 +#interval=30 + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +#label=VOL +label= +instance=Master +#instance=PCM +interval=once +signal=10 + +# Date Time +# +[time] +label= +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 diff --git a/.config/i3/i3status.conf b/.config/i3/i3status.conf new file mode 100644 index 0000000..7db05ac --- /dev/null +++ b/.config/i3/i3status.conf @@ -0,0 +1,106 @@ +### Configuration file for i3status +## http://i3wm.org/i3status/ + + +################### +# GENERAL OPTIONS # +################### + +general { + colors = true + interval = 5 +} + +################### +# START AND ORDER # +################### + +#order += "cpu_temperature 0" +order += "cpu_usage" +order += "load" +order += "disk /" +order += "volume master" +order += "time" + + +################### +# SENSORS SETTING # +################### + + +##CPU temperature +cpu_temperature 0 { + format = "Temp: %degrees °C" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input" +} + + +## CPU sensor +cpu_usage { + format = "%usage" +} + +## system load sensor +load { + format = "%1min" +} + +## HDD sensor +disk "/" { + format = "%free" +} + + +## audio volume sensor +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" + device = "default" + mixer = "Master" + mixer_idx = 0 +} + +## time format +time { + format = "%d.%m.%Y %H:%M" +} + +######################################################################## +### The rest is not selected add it to the top at start and order +######################################################################## + +## ethernet sensor +ethernet enp2s0 { + # if you use %speed, i3status requires root privileges shows only if you have a 1000Mbit/s after ip adress) + #format_up = "E: %ip (%speed)" + format_up = "E: %ip" +} + +## VPN sensor +run_watch VPN { + pidfile = "/var/run/vpnc/pid" +} + +## wlan sensor +wireless wlan0 { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + + +## battery sensor +battery 0 { + format = "%status %percentage %remaining" + last_full_capacity = true +} + +## DHCP sensor +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + + +## HDD sensor +disk "/home" { + format = "%free" +} diff --git a/.config/i3/kde-i3.sh b/.config/i3/kde-i3.sh new file mode 100644 index 0000000..d792c11 --- /dev/null +++ b/.config/i3/kde-i3.sh @@ -0,0 +1,2 @@ +#!/bin/sh +export KDEWM=i3 diff --git a/.config/i3/old-arco/arcolinux-archive.theme b/.config/i3/old-arco/arcolinux-archive.theme new file mode 100644 index 0000000..e4417e6 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-archive.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Archive + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #5f676a #a9a9a9 + urgent_workspace #a9a9a9 #e82951 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Archive + + # Window color settings + # class border backgr. text indicator + client.focused #2B6473 #2B6473 #FFA000 #004050 + client.unfocused #004050 #004050 #cccccc #004050 + client.focused_inactive #004050 #004050 #cccccc #004050 + client.placeholder #004050 #004050 #cccccc #004050 + client.urgent #900000 #900000 #ffffff #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-default.theme b/.config/i3/old-arco/arcolinux-default.theme new file mode 100644 index 0000000..19c55b7 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-default.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Default + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Default + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-dracut.theme b/.config/i3/old-arco/arcolinux-dracut.theme new file mode 100644 index 0000000..df9d55f --- /dev/null +++ b/.config/i3/old-arco/arcolinux-dracut.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Dracut + + # i3 bar colors + # variable border background Text + + colors { + background #3c3b37 + statusline #dcdccc + separator #666666 + + # colorclass border backgr. text + focused_workspace #93b3a3 #3c3b37 #93b3a3 + active_workspace #ffcfaf #3c3b37 #ffcfaf + inactive_workspace #636363 #3c3b37 #dcdccc + urgent_workspace #dca3a3 #3c3b37 #dca3a3 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Dracut + + # Window color settings + # class border backgr. text indicator + client.focused #ffcfaf #ffcfaf #e5e5e5 #ffcfaf + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-firedust.theme b/.config/i3/old-arco/arcolinux-firedust.theme new file mode 100644 index 0000000..a82d321 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-firedust.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Firedust + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Firedust + + # Window color settings + # class border backgr. text indicator + client.focused #d64937 #d64937 #2D2D2D #d64937 + client.unfocused #2D2D2D #2d2d2d #dcdcdc #292d2e + client.focused_inactive #2d2d2d #2d2d2d #dcdcdc #484e50 + client.placeholder #2d2d2d #2d2d2d #dcdcdc #484e502 + client.urgent #2D2D2D #2D2D2D #dcdcdc #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-frama.theme b/.config/i3/old-arco/arcolinux-frama.theme new file mode 100644 index 0000000..f3adafc --- /dev/null +++ b/.config/i3/old-arco/arcolinux-frama.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Frama + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #333333 #AFD700 #ffffff + active_workspace #333333 #222222 #888888 + inactive_workspace #333333 #222222 #888888 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Frama + + # Window color settings + # class border backgr. text indicator + client.focused #AFD700 #AFD700 #000000 #AFD700 + client.unfocused #111111 #768e10 #000000 #000000 + client.focused_inactive #111111 #768e10 #000000 #000000 + client.placeholder #111111 #768e10 #000000 #000000 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-gravemind.theme b/.config/i3/old-arco/arcolinux-gravemind.theme new file mode 100644 index 0000000..5f78c5b --- /dev/null +++ b/.config/i3/old-arco/arcolinux-gravemind.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Gravemind + + # i3 bar colors + # variable border background Text + + colors { + background #4b4b4b + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Gravemind + + # Window color settings + # class border backgr. text indicator + client.focused #3c5bcb #3c5bcb #dddddd #3c5bcb + client.unfocused #000000 #000000 #555555 #292d2e + client.focused_inactive #000000 #000000 #555555 #292d2e + client.placeholder #000000 #000000 #555555 #292d2e + client.urgent #2f343a #900000 #ffffff #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-mango.theme b/.config/i3/old-arco/arcolinux-mango.theme new file mode 100644 index 0000000..e699f2c --- /dev/null +++ b/.config/i3/old-arco/arcolinux-mango.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mango + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #fdb95b + + # colorclass border backgr. text + focused_workspace #a9a9a9 #fdb95b #000000 + active_workspace #a9a9a9 #ffddaf #000000 + inactive_workspace #a9a9a9 #5f676a #eeeeee + urgent_workspace #a9a9a9 #d42121 #eeeeee + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mango + + # Window color settings + # class border backgr. text indicator + client.focused #242424 #fdb95b #ffffff #fdb95b + client.unfocused #222222 #ffddaf #ffffff #ffddaf + client.focused_inactive #222222 #ffddaf #ffffff #ffddaf + client.placeholder #242424 #242424 #ffffff + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-mastermind.theme b/.config/i3/old-arco/arcolinux-mastermind.theme new file mode 100644 index 0000000..7fb1ec6 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-mastermind.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mastermind + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #a9a9a9 + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #e82951 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mastermind + + # Window color settings + # class border backgr. text indicator + client.focused #4c7899 #4c7899 #ffffff #4c7899 + client.unfocused #333333 #222222 #888888 #292d2e + client.focused_inactive #333333 #222222 #888888 #292d2e + client.placeholder #333333 #222222 #888888 #292d2e + client.urgent #900000 #900000 #ffffff #900000 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-mater.theme b/.config/i3/old-arco/arcolinux-mater.theme new file mode 100644 index 0000000..5bdb3b5 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-mater.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mater + + # i3 bar colors + # variable border background Text + + colors { + background #a6a2a2 + statusline #333333 + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #222222 #eeeeee + active_workspace #a9a9a9 #222222 #eeeeee + inactive_workspace #a6a2a2 #a6a2a2 #333131 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mater + + # Window color settings + # class border backgr. text indicator + client.focused #a9a9a9 #a9a9a9 #e5e5e5 #a9a9a9 + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-mind.theme b/.config/i3/old-arco/arcolinux-mind.theme new file mode 100644 index 0000000..8ee6c03 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-mind.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mind + + # i3 bar colors + # variable border background Text + + colors { + background #202A2E + statusline #F9FAF9 + separator #454947 + + # colorclass border backgr. text + focused_workspace #F9FAF9 #16a085 #292F34 + active_workspace #595B5B #353836 #FDF6E3 + inactive_workspace #595B5B #202A2E #EEE8D5 + urgent_workspace #e82951 #e82951 #FDF6E3 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mind + + # Window color settings + # class border backgr. text indicator + client.focused #556064 #556064 #80FFF9 #FDF6E3 + client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948 + client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 + client.placeholder #2F3D44 #2F3D44 #1ABC9C #454948 + client.urgent #CB4B16 #FDF6E3 #1ABC9C #CB4B16 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-mordor.theme b/.config/i3/old-arco/arcolinux-mordor.theme new file mode 100644 index 0000000..cf7e0be --- /dev/null +++ b/.config/i3/old-arco/arcolinux-mordor.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Mordor + + # i3 bar colors + # variable border background Text + + colors { + background #454242 + statusline #eeeeee + separator #b5b3b3 + + # colorclass border backgr. text + focused_workspace #eeae0a #222222 #eeae0a + active_workspace #a9a9a9 #222222 #eeeeee + inactive_workspace #a9a9a9 #5f676a #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #eeeeee + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Mordor + + # Window color settings + # class border backgr. text indicator + client.focused #eeae0a #eeae0a #ffffff #eeae0a + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-nantes.theme b/.config/i3/old-arco/arcolinux-nantes.theme new file mode 100644 index 0000000..4f7f8ca --- /dev/null +++ b/.config/i3/old-arco/arcolinux-nantes.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Nantes + + # i3 bar colors + # variable border background Text + + colors { + background #000000 + statusline #ffffff + separator #666666 + + # colorclass border backgr. text + focused_workspace #008fff #007fff #ffffff + active_workspace #333333 #5f676a #ffffff + inactive_workspace #333333 #222222 #888888 + urgent_workspace #aa0000 #990000 #ffffff + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Nantes + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-noclue.theme b/.config/i3/old-arco/arcolinux-noclue.theme new file mode 100644 index 0000000..bfebfe5 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-noclue.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Noclue + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #DAD58B + separator #666666 + + # colorclass border backgr. text + focused_workspace #333333 #DAD58B #000000 + active_workspace #333333 #222222 #aaaaaa + inactive_workspace #333333 #222222 #aaaaaa + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Noclue + + # Window color settings + # class border backgr. text indicator + client.focused #DAD58B #DAD58B #000000 #DAD58B + client.unfocused #DAAE8B #DAAE8B #000000 #DAAE8B + client.focused_inactive #DAAE8B #DAAE8B #000000 #DAAE8B + client.placeholder #DAAE8B #DAAE8B #000000 #DAAE8B + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-pinky.theme b/.config/i3/old-arco/arcolinux-pinky.theme new file mode 100644 index 0000000..afec209 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-pinky.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Pinky from ArcoLinux Coritani + + # i3 bar colors + # variable border background Text + + colors { + background #2F3D44 + statusline #F9FAF9 + separator #454947 + + # colorclass border backgr. text + focused_workspace #F9FAF9 #e82951 #F9FAF9 + active_workspace #595B5B #2F3D44 #F9FAF9 + inactive_workspace #595B5B #202A2E #F9FAF9 + urgent_workspace #e82951 #e82951 #F9FAF9 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Pinky from ArcoLinux Coritani + + # Window color settings + # class border backgr. text indicator + client.focused #FFB6C1 #FFB6C1 #e82951 #FDF6E3 + client.unfocused #2F3D44 #2F3D44 #FFB6C1 #454948 + client.focused_inactive #2F3D44 #2F3D44 #FFB6C1 #454948 + client.placeholder #2F3D44 #2F3D44 #FFB6C1 #454948 + client.urgent #CB4B16 #FDF6E3 #FFB6C1 #CB4B16 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-ruins.theme b/.config/i3/old-arco/arcolinux-ruins.theme new file mode 100644 index 0000000..ccf51a5 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-ruins.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Ruins + + # i3 bar colors + # variable border background Text + + colors { + background #303030 + statusline #d0e1d4 + separator #c1d0c1 + + # colorclass border backgr. text + focused_workspace #FF6F54 #FF6F54 #FFF2CE + active_workspace #FF6F54 #FF6F54 #FFF2CE + inactive_workspace #64635f #64635f #a7afa9 + urgent_workspace #e82951 #e82951 #FFF2CE + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Ruins + + # Window color settings + # class border backgr. text indicator + client.focused #FF6F54 #FF6F54 #e5e5e5 #FF6F54 + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #aaaaaa #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-solar.theme b/.config/i3/old-arco/arcolinux-solar.theme new file mode 100644 index 0000000..f00ff40 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-solar.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Solar + + # i3 bar colors + # variable border background Text + + colors { + background #657b83 + statusline #eee8d5 + separator #073642 + + # colorclass border backgr. text + focused_workspace #657b83 #073642 #eee8d5 + active_workspace #eee8d5 #657b83 #eee8d5 + inactive_workspace #657b83 #657b83 #eee8d5 + urgent_workspace #657b83 #d42121 #eee8d5 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Solar + + # Window color settings + # class border backgr. text indicator + client.focused #eee8d5 #eee8d5 #073642 #eee8d5 + client.unfocused #073642 #073642 #eee8d5 #073642 + client.focused_inactive #073642 #073642 #eee8d5 #073642 + client.placeholder #073642 #073642 #eee8d5 #073642 + client.urgent #657b83 #d42121 #eee8d5 #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-sunset.theme b/.config/i3/old-arco/arcolinux-sunset.theme new file mode 100644 index 0000000..63cfd3c --- /dev/null +++ b/.config/i3/old-arco/arcolinux-sunset.theme @@ -0,0 +1,35 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Sunset + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #e82951 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Sunset + + # Window color settings + # class border backgr. text indicator + client.focused #FFAF00 #FFAF00 #333333 #FFAF00 + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #aaaaaa #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #ffffff #d42121 + + client.background #242424 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-var-ashes.theme b/.config/i3/old-arco/arcolinux-var-ashes.theme new file mode 100644 index 0000000..b39bf86 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-var-ashes.theme @@ -0,0 +1,69 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Var Ashes + + # i3 bar colors + # variable border background Text + + set $base00 #1C2023 + set $base01 #393F45 + set $base02 #565E65 + set $base03 #747C84 + set $base04 #ADB3BA + set $base05 #C7CCD1 + set $base06 #DFE2E5 + set $base07 #F3F4F5 + set $base08 #C7AE95 + set $base09 #C7C795 + set $base0A #AEC795 + set $base0B #95C7AE + set $base0C #95AEC7 + set $base0D #AE95C7 + set $base0E #C795AE + set $base0F #C79595 + + colors { + background $base00 + separator $base01 + statusline $base04 + + # colorclass border backgr. text + focused_workspace $base05 $base0D $base00 + active_workspace $base05 $base03 $base00 + inactive_workspace $base03 $base01 $base05 + urgent_workspace $base08 $base08 $base00 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Var Ashes + + set $base00 #1C2023 + set $base01 #393F45 + set $base02 #565E65 + set $base03 #747C84 + set $base04 #ADB3BA + set $base05 #C7CCD1 + set $base06 #DFE2E5 + set $base07 #F3F4F5 + set $base08 #C7AE95 + set $base09 #C7C795 + set $base0A #AEC795 + set $base0B #95C7AE + set $base0C #95AEC7 + set $base0D #AE95C7 + set $base0E #C795AE + set $base0F #C79595 + + # Window color settings + # class border backgr. text indicator + client.focused $base05 $base0D $base00 $base0 + client.unfocused $base01 $base00 $base05 $base01 + client.focused_inactive $base01 $base01 $base05 $base03 + client.placeholder $base00 $base00 $base05 $base00 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background $base07 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-var-nord.theme b/.config/i3/old-arco/arcolinux-var-nord.theme new file mode 100644 index 0000000..3558a87 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-var-nord.theme @@ -0,0 +1,72 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Var Nord + + # i3 bar colors + # variable border background Text + + # Nord theme colors + # https://www.nordtheme.com/docs/colors-and-palettes + + set $nord0 #2E3440 + set $nord1 #3B4252 + set $nord2 #434C5E + set $nord3 #4C566A + set $nord4 #D8DEE9 + set $nord5 #E5E9F0 + set $nord6 #ECEFF4 + set $nord7 #8FBCBB + set $nord8 #88C0D0 + set $nord9 #81A1C1 + set $nord10 #5E81AC + set $nord11 #BF616A + set $nord12 #D08770 + set $nord13 #EBCB8B + set $nord14 #A3BE8C + set $nord15 #B48EAD + + colors { + background $nord0 + statusline $nord9 + separator $nord10 + + # colorclass border backgr. text + focused_workspace $nord3 $nord8 $nord4 + active_workspace $nord3 $nord8 $nord4 + inactive_workspace $nord8 $nord10 $nord4 + urgent_workspace $nord3 $nord11 $nord4 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Var Nord + + set $nord0 #2E3440 + set $nord1 #3B4252 + set $nord2 #434C5E + set $nord3 #4C566A + set $nord4 #D8DEE9 + set $nord5 #E5E9F0 + set $nord6 #ECEFF4 + set $nord7 #8FBCBB + set $nord8 #88C0D0 + set $nord9 #81A1C1 + set $nord10 #5E81AC + set $nord11 #BF616A + set $nord12 #D08770 + set $nord13 #EBCB8B + set $nord14 #A3BE8C + set $nord15 #B48EAD + + # Window color settings + # class border backgr. text indicator + client.focused $nord15 $nord15 $nord4 $nord15 + client.unfocused $nord2 $nord2 $nord6 $nord2 + client.focused_inactive $nord2 $nord2 $nord6 $nord2 + client.placeholder $nord2 $nord2 $nord6 $nord2 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background $nord04 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-var-sulpher.theme b/.config/i3/old-arco/arcolinux-var-sulpher.theme new file mode 100644 index 0000000..4f5655b --- /dev/null +++ b/.config/i3/old-arco/arcolinux-var-sulpher.theme @@ -0,0 +1,69 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Var Sulpher + + # i3 bar colors + # variable border background Text + + set $base00 #202746 + set $base01 #293256 + set $base02 #5e6687 + set $base03 #6b7394 + set $base04 #898ea4 + set $base05 #979db4 + set $base06 #dfe2f1 + set $base07 #f5f7ff + set $base08 #c94922 + set $base09 #c76b29 + set $base0A #c08b30 + set $base0B #ac9739 + set $base0C #22a2c9 + set $base0D #3d8fd1 + set $base0E #6679cc + set $base0F #9c637a + + colors { + background $base00 + separator $base01 + statusline $base04 + + # colorclass border backgr. text + focused_workspace $base05 $base0D $base00 + active_workspace $base05 $base03 $base00 + inactive_workspace $base03 $base01 $base05 + urgent_workspace $base08 $base08 $base00 + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Var Sulpher + + set $base00 #202746 + set $base01 #293256 + set $base02 #5e6687 + set $base03 #6b7394 + set $base04 #898ea4 + set $base05 #979db4 + set $base06 #dfe2f1 + set $base07 #f5f7ff + set $base08 #c94922 + set $base09 #c76b29 + set $base0A #c08b30 + set $base0B #ac9739 + set $base0C #22a2c9 + set $base0D #3d8fd1 + set $base0E #6679cc + set $base0F #9c637a + + # Window color settings + # class border backgr. text indicator + client.focused $base05 $base0D $base00 $base0D + client.unfocused $base01 $base00 $base05 $base01 + client.focused_inactive $base01 $base01 $base05 $base03 + client.placeholder $base00 $base00 $base05 $base00 + client.urgent $base08 $base08 $base00 $base08 + + client.background $base07 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/arcolinux-zion.theme b/.config/i3/old-arco/arcolinux-zion.theme new file mode 100644 index 0000000..5135c96 --- /dev/null +++ b/.config/i3/old-arco/arcolinux-zion.theme @@ -0,0 +1,70 @@ + ##START THEMING BAR + #Theme name : ArcoLinux Zion + + # i3 bar colors + # variable border background Text + + colors { + # Background color of the bar + background #4a4a46 + + # Text color to be used for the statusline + statusline #e3bbf1 + + # Text color to be used for the separator + separator #e3bbf1 + + # colorclass border background text + # Border, background and text color for a workspace + # button when the workspace has focus. + focused_workspace #9742b5 #9742b5 #fdf6e3 + + # Border, background and text color for a workspace button when + # the workspace is active (visible) on some output, but the focus is on another one. + # You can only tell this apart from the focused workspace when you are using multiple + # monitors. + active_workspace #9742b5 #9742b5 #fdf6e3 + + # Border, background and text color for a workspace button when the workspace does + # not have focus and is not active (visible) on any output. This will be the case + # for most workspaces. + inactive_workspace #002b36 #002b36 #fdf6e3 + + # Border, background and text color for a workspace button when the workspace contains + # a window with the urgency hint set. + urgent_workspace ##9742b5 #d33682 #fdf6e3 + + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Zion + + # Window color settings + # class border background text indicator + + # A client which currently has the focus. + client.focused #9742b5 #9742b5 #ffffff #9742b5 + + # A client which is not the focused one of its container. + client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C + + # A client which is the focused one of its container, but it does not have the focus at the moment. + client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C + + # Background and text color are used to draw placeholder window + # contents (when restoring layouts). Border and indicator are ignored. + client.placeholder #2C2C2C #2C2C2C #ffffff #2C2C2C + + # A client which has its urgency hint activated. + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + # Background color which will be used to paint the background + # of the client window on top of which the client will be rendered. + # Only clients which do not cover the whole area of this window expose + # the color. Note that this colorclass only takes a single color. + client.background #000000 + + ##STOP THEMING WM diff --git a/.config/i3/old-arco/config b/.config/i3/old-arco/config new file mode 100644 index 0000000..43b3854 --- /dev/null +++ b/.config/i3/old-arco/config @@ -0,0 +1,852 @@ +################# Start of all the settings + +# KEY DEFINITIONS TO REMEMBER +# $mod = Set below +# Mod4 = Super key +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + +################# Define the $mod variable/key + +# Key to rule them all : Super(Windows) or Alt key - see definition above +# set Super key +set $mod Mod4 + +################# Define the movements keys - variables + +# This is setup for qwerty +# set $right to m if using azerty keyboard +set $up l +set $down k +set $left j +set $right semicolon + +################# Single and Dual screen + +# current displays +exec --no-startup-id xrandr --output DP0 --right-of HDMI-0 --auto + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +# exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +# exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +# exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output HDMI-2 --right-of HDMI-1 --auto + +# current setup + +set $firstMonitor HDMI-0 +set $secondMonitor DP0 + +# Other Examples + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +#set $firstMonitor HDMI-1 +#set $secondMonitor HDMI-2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + +################# menu's in arcolinux + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# start xfce4-appfinder +bindsym mod1+F2 exec --no-startup-id xfce4-appfinder --collapsed + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start xlunch app launcher +# bindsym mod1+F5 exec --no-startup-id xlunch --config ~/.config/xlunch/default.conf --input ~/.config/xlunch/entries.dsv + +# start rofi full +bindsym $mod+F11 exec --no-startup-id "rofi -font 'Noto Sans 13' -theme-str 'window {width: 100%;height: 100%;}' -show drun" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show drun -font "Noto Sans 13" + +################# how to exit, logoff, suspend, ... + +# Backup exit +# Press ctrl+alt+x - check toolbar for next choices +bindsym control+mod1+X mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +# set desktop background with custom effect +exec --no-startup-id betterlockscreen -w dim + +# Alternative (set last used background) +exec --no-startup-id source ~/.fehbg + +bindsym $mod+shift+x exec betterlockscreen -l dim + +# ArcoLinux Logout + +bindsym $mod+Shift+e exec --no-startup-id arcolinux-logout +bindsym $mod+X exec --no-startup-id arcolinux-logout + +################# reload changed configuration + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# reload the configuration file +bindsym $mod+Shift+c reload + +################# Stopping an application + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + +################# Moving around in i3 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +###### +#bindsym $mod+Shift+l exec "i3lock" + +################# moving around workspaces + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +# navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + +################# Tiling parameters + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +# bindsym $mod+d focus child + +################# resize + +# Resizing by 1 +bindsym $mod+Mod1+Ctrl+Right resize shrink width 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Up resize grow height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Down resize shrink height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Left resize grow width 1 px or 1 ppt + +# old resize keybindings +# resize window (you can also use the mouse for that) + +# bindsym $mod+r mode "resize" + +# mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + # bindsym $left resize shrink width 10 px or 10 ppt + # bindsym $down resize grow height 10 px or 10 ppt + # bindsym $up resize shrink height 10 px or 10 ppt + # bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + # bindsym Left resize shrink width 10 px or 10 ppt + # bindsym Down resize grow height 10 px or 10 ppt + # bindsym Up resize shrink height 10 px or 10 ppt + # bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + # bindsym Return mode "default" + # bindsym Escape mode "default" +# } + +################# choose the font + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + +################# assign applications to workspaces + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Example - make browser start on workspace 3 +# assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 3 +# assign [class="Chromium|Google-chrome"] → 3 + +# Workspace 2 text editor related +# assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +# assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +# assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +# assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +# assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +# assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +# assign [class="Meld"] → 5 + +# Workspace 6 all video related software +# assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +# assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +# assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +# assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +# assign [class="Spotify|spotify"] → 10 +# fix for spotify not moving to workspace 10 +# for_window [class="Spotify"] move to workspace 10 + +################# autostart - execute applications at boot time + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +# Autotiling +exec_always --no-startup-id autotiling + +# Browser +# exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +# Text-editor +# exec --no-startup-id geany +# exec --no-startup-id atom + +# File manager +# exec --no-startup-id thunar + +# Mail clients +# exec --no-startup-id evolution + +# Music +# exec --no-startup-id spotify +for_window [class="Spotify"] focus + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want/need + +# Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +# exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +# exec --no-startup-id dropbox start + +# insync +# exec --no-startup-id insync start + +# volume +# exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +# variety +# exec --no-startup-id variety + +# clipman +# exec --no-startup-id xfce4-clipman + +# Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +# feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +# Polybar +# exec_always --no-startup-id ~/.config/polybar/launch.sh & + +################# system applications + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +# exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +################# applications keyboard shortcuts + +# not workspace related + +# ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +# ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +# conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id alacritty;focus +bindsym $mod+KP_Enter exec --no-startup-id alacritty;focus +bindsym control+mod1+t exec --no-startup-id alacritty; focus +bindsym control+mod1+Return exec --no-startup-id alacritty; focus +bindsym control+mod1+KP_Enter exec --no-startup-id alacritty; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +# System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +# settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +# catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +# arcolinux-logout +bindsym control+mod1+k exec --no-startup-id arcolinux-logout +bindsym control+mod1+l exec --no-startup-id arcolinux-logout + +# rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +# arcolinux conflict +# bindsym $mod+m exec --no-startup-id pragha;focus + +# htop +# arcolinux conflict +# bindsym $mod+h exec --no-startup-id htop;focus + +# pavucontrol +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +# arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +# pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +# xkill +bindsym --release $mod+Escape exec xkill + +# Function Keybinds +# Browser +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +# qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +# Text Editor +# bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +# Basic Draw Tool +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +# Advanced Draw Tool +bindsym $mod+F4 exec --no-startup-id gimp;focus + +# document comparison +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +# video player +bindsym $mod+F6 exec --no-startup-id vlc;focus + +# virtual machine +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +# file management +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +# mail application +bindsym $mod+F9 exec --no-startup-id evolution;focus +# bindsym $mod+F9 exec --no-startup-id geary;focus +# bindsym control+mod1+e exec --no-startup-id geary;focus + +# music +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + +################# screenshots + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +# bindsym shift+Print exec --no-startup-id shutter + +################# floating or tiled rules + +# floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +# for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Arcolinux-calamares-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +# for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + +# for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + +# for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + +################# give focus to applications + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus +for_window [class="Urxvt"] focus +for_window [class="Alacritty"] focus + +################# variety for wallpapers + +# Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + +################# variety with pywal for your wallpapers/colour schemes + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + +################# audio settings + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +# https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +# bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +# bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +# bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +# bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + +################# xbacklight + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + +################# bar toggle + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + +################# border control + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +# changing border style +# super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border pixel 1 +bindsym $mod+u border none + +# new_window pixel 1 +new_window normal +# new_window none + +# new_float pixel 1 +new_float normal +# new_float none + +################# Popups control + +# Popups during fullscreen mode +popup_during_fullscreen smart + +################# i3 gaps next + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer -5 +# smart_gaps on +# smart_borders on + +################# i3 gaps change + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################# picom of i3wm + +# if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +################# bar appearance + +bar { + height 25 + workspace_buttons yes + font pango:Noto Sans 14 + + # position top + position bottom + + # system icons + # tray_output none + # tray_output $firstMonitor + # tray_output $secondMonitor + + # OPTION 1 : i3status + + # type status_command i3status without the config file and + # you will get the standard i3status bar + # Second one is the standard statusbar with my personal settings + + # status_command i3status + status_command i3status -c ~/.config/i3/i3status.conf + + # OPTION 2 : i3blocks + + # https://github.com/vivien/i3blocks + # another way to provide text in the statusbar + # put hastag in front if not installed + + # status_command i3blocks + # status_command i3blocks -c ~/.config/i3/i3blocks.conf + # status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf + # status_command i3blocks -c ~/.config/i3/i3blocks-original.conf + # status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf + + + # OPTION 3 : conky + + # You can also replace the istatus bar with a conky + # start-conky-i3statusbar.sh is started and conky will follow + # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html + # conky configuration is in conky-i3statusbar + + # status_command ~/.config/i3/start-conky-i3statusbar.sh + + # OPTION 4 : polybar + + # polybar is launched elsewhere - search for the word + # from the opening of the "bar {...}" till the end has to go or hashtagged out + # in order for the system trayicons to show up in polybar + + ##START THEMING BAR + # Theme name : ArcoLinux Default + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + # Theme name : ArcoLinux Default + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM + +######################################## THE END + +################# Scratchpad + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +################# mouse settings in i3 + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + +################# keyboard control + +# NOT USED + +# Settings of arcolinux will be applied +# exec --no-startup-id setxkbmap be +# exec --no-startup-id setxkbmap us +exec_always "setxkbmap -model pc101 -layout us,ara -variant ,, -option grp:win_space_toggle" + +################# unclutter + +# NOT USED + +# get the mouse out of the way with unclutter +# exec --no-startup-id unclutter diff --git a/.config/i3/old-arco/config-polybar b/.config/i3/old-arco/config-polybar new file mode 100644 index 0000000..bd3e1e3 --- /dev/null +++ b/.config/i3/old-arco/config-polybar @@ -0,0 +1,767 @@ +################# Start of all the settings + +# KEY DEFINITIONS TO REMEMBER +# $mod = Set below +# Mod4 = Super key +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + +################# Define the $mod variable/key + +# Key to rule them all : Super(Windows) or Alt key - see definition above +# set Super key +set $mod Mod4 + +################# Define the movements keys - variables + +# This is setup for qwerty +# set $right to m if using azerty keyboard +set $up l +set $down k +set $left j +set $right semicolon + +################# Single and Dual screen + +# current displays +exec --no-startup-id xrandr --output DP0 --right-of HDMI-0 --auto + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +# exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +# exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +# exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +# exec --no-startup-id xrandr --output HDMI-2 --right-of HDMI-1 --auto + +# current setup + +set $firstMonitor HDMI-0 +set $secondMonitor DP0 + +# Other Examples + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +#set $firstMonitor HDMI-1 +#set $secondMonitor HDMI-2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + +################# menu's in arcolinux + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# start xfce4-appfinder +bindsym mod1+F2 exec --no-startup-id xfce4-appfinder --collapsed + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start xlunch app launcher +# bindsym mod1+F5 exec --no-startup-id xlunch --config ~/.config/xlunch/default.conf --input ~/.config/xlunch/entries.dsv + +# start rofi full +bindsym $mod+F11 exec --no-startup-id "rofi -font 'Noto Sans 13' -theme-str 'window {width: 100%;height: 100%;}' -show drun" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show drun -font "Noto Sans 13" + +################# how to exit, logoff, suspend, ... + +# Backup exit +# Press ctrl+alt+x - check toolbar for next choices +bindsym control+mod1+X mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +# ArcoLinux Logout +bindsym $mod+Shift+e exec --no-startup-id arcolinux-logout +bindsym $mod+X exec --no-startup-id arcolinux-logout + +################# reload changed configuration + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# reload the configuration file +bindsym $mod+Shift+c reload + +################# Stopping an application + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + +################# Moving around in i3 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +################# moving around workspaces + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +# navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + +################# Tiling parameters + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +# bindsym $mod+d focus child + +################# resize + +# Resizing by 1 +bindsym $mod+Mod1+Ctrl+Right resize shrink width 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Up resize grow height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Down resize shrink height 1 px or 1 ppt +bindsym $mod+Mod1+Ctrl+Left resize grow width 1 px or 1 ppt + +# old resize keybindings +# resize window (you can also use the mouse for that) + +# bindsym $mod+r mode "resize" + +# mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + # bindsym $left resize shrink width 10 px or 10 ppt + # bindsym $down resize grow height 10 px or 10 ppt + # bindsym $up resize shrink height 10 px or 10 ppt + # bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + # bindsym Left resize shrink width 10 px or 10 ppt + # bindsym Down resize grow height 10 px or 10 ppt + # bindsym Up resize shrink height 10 px or 10 ppt + # bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + # bindsym Return mode "default" + # bindsym Escape mode "default" +# } + +################# choose the font + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + +################# assign applications to workspaces + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Example - make browser start on workspace 3 +# assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 3 +# assign [class="Chromium|Google-chrome"] → 3 + +# Workspace 2 text editor related +# assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +# assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +# assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +# assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +# assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +# assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +# assign [class="Meld"] → 5 + +# Workspace 6 all video related software +# assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +# assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +# assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +# assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +# assign [class="Spotify|spotify"] → 10 +# fix for spotify not moving to workspace 10 +# for_window [class="Spotify"] move to workspace 10 + +################# autostart - execute applications at boot time + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +# Autotiling +exec_always --no-startup-id autotiling + +# Browser +# exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +# Text-editor +# exec --no-startup-id geany +# exec --no-startup-id atom + +# File manager +# exec --no-startup-id thunar + +# Mail clients +# exec --no-startup-id evolution + +# Music +# exec --no-startup-id spotify +for_window [class="Spotify"] focus + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want/need + +# Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +# exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +# exec --no-startup-id dropbox start + +# insync +# exec --no-startup-id insync start + +# volume +# exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +# variety +# exec --no-startup-id variety + +# clipman +# exec --no-startup-id xfce4-clipman + +# Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +# feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +# Polybar +exec_always --no-startup-id ~/.config/polybar/launch.sh & + +################# system applications + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +# exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +################# applications keyboard shortcuts + +# not workspace related + +# ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +# ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +# conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id alacritty;focus +bindsym $mod+KP_Enter exec --no-startup-id alacritty;focus +bindsym control+mod1+t exec --no-startup-id alacritty; focus +bindsym control+mod1+Return exec --no-startup-id alacritty; focus +bindsym control+mod1+KP_Enter exec --no-startup-id alacritty; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +# System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +# settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +# catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +# arcolinux-logout +bindsym control+mod1+k exec --no-startup-id arcolinux-logout +bindsym control+mod1+l exec --no-startup-id arcolinux-logout + +# rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +# arcolinux conflict +# bindsym $mod+m exec --no-startup-id pragha;focus + +# htop +# arcolinux conflict +# bindsym $mod+h exec --no-startup-id htop;focus + +# pavucontrol +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +# arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +# pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +# xkill +bindsym --release $mod+Escape exec xkill + +# Function Keybinds +# Browser +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +# qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +# Text Editor +# bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +# Basic Draw Tool +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +# Advanced Draw Tool +bindsym $mod+F4 exec --no-startup-id gimp;focus + +# document comparison +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +# video player +bindsym $mod+F6 exec --no-startup-id vlc;focus + +# virtual machine +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +# file management +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +# mail application +bindsym $mod+F9 exec --no-startup-id evolution;focus +# bindsym $mod+F9 exec --no-startup-id geary;focus +# bindsym control+mod1+e exec --no-startup-id geary;focus + +# music +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + +################# screenshots + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +# bindsym shift+Print exec --no-startup-id shutter + +################# floating or tiled rules + +# floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +# for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Arcolinux-calamares-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +# for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + +# for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + +# for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + +################# give focus to applications + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus +for_window [class="Urxvt"] focus + +################# variety for wallpapers + +# Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + +################# variety with pywal for your wallpapers/colour schemes + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + +################# audio settings + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +# https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +# bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +# bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +# bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +# bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + +################# xbacklight + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + +################# bar toggle + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + +################# border control + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +# changing border style +# super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border pixel 1 +bindsym $mod+u border none + +# new_window pixel 1 +new_window normal +# new_window none + +# new_float pixel 1 +new_float normal +# new_float none + +################# Popups control + +# Popups during fullscreen mode +popup_during_fullscreen smart + +################# i3 gaps next + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer 5 +# smart_gaps on +# smart_borders on + +################# i3 gaps change + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + +################# picom of i3wm + +# if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +################# bar appearance + +##START THEMING WM +# Theme name : ArcoLinux Default + +# Window color settings +# class border backgr. text indicator +client.focused #6790EB #6790EB #e5e5e5 #6790EB +client.unfocused #222222 #222222 #aaaaaa #222222 +client.focused_inactive #222222 #222222 #a9a9a9 #222222 +client.placeholder #222222 #222222 #aaaaaa #222222 +client.urgent #d42121 #d42121 #f7f7f7 #d42121 + +client.background #242424 + +##STOP THEMING WM + +######################################## THE END + +################# Scratchpad + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +################# mouse settings in i3 + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + +################# keyboard control + +# NOT USED + +# Settings of arcolinux will be applied +# exec --no-startup-id setxkbmap be +# exec --no-startup-id setxkbmap us + +################# unclutter + +# NOT USED + +# get the mouse out of the way with unclutter +# exec --no-startup-id unclutter diff --git a/.config/i3/old-arco/conky-i3statusbar b/.config/i3/old-arco/conky-i3statusbar new file mode 100644 index 0000000..f74a14d --- /dev/null +++ b/.config/i3/old-arco/conky-i3statusbar @@ -0,0 +1,131 @@ +--[[ +#===================================================================================== +# +# Author : Erik Dubois at http://www.erikdubois.be +# License : Distributed under the terms of GNU GPL version 2 or later +# Documentation English: http://erikdubois.be/category/linux/i3/ +#====================================================================================== + +#====================================================================================== +# +# Source : c +# alternative : sudo apt list --upgradable | wc -l +#====================================================================================== + + +]] + +conky.config = { + out_to_x = false, + own_window = false, + out_to_console = true, + background = false, + max_text_width = 0, + update_interval = 1.0, + total_run_times = 0, + short_units = true, + if_up_strictness = "address", + use_spacer = "left", + override_utf8_locale = false, + cpu_avg_samples = 2 +} + +conky.text = [[ + [ + { + "full_text": " ArcoLinux $kernel ", + "color": "\#fdf6e3", + "background": "\#dc322f", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#dc322f", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${cpu cpu0}%, ${execi 5 sensors|grep 'Core 0'|awk '{print $3}'} ", + "color": "\#fdf6e3", + "background": "\#dc322f", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#e69722", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${mem}/${memmax} (${memperc}%) ", + "color": "\#fdf6e3", + "background": "\#e69722", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#2aa198", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + #"full_text": "  ${texeci 1800 sleep 5; aptitude search '~U' | wc -l} updates ", + "full_text": "  ${texeci 1800 sleep 5; checkupdates | wc -l} updates", + "color": "\#fdf6e3", + "background": "\#2aa198", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  up: ${upspeed enp2s0} down: ${downspeed enp2s0} ", + "color": "\#fdf6e3", + "background": "\#2aa198", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#859900", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + #linux mint + #"full_text": "  ${exec amixer get Master | grep % | awk '{print $4}' | sed 's/[^0-9\%]//g' | head -n1} ", + #arch linux + "full_text": "  ${exec amixer get Master | grep % | awk '{print $5}' | sed 's/[^0-9\%]//g' | head -n1} ", + "color": "\#fdf6e3", + "background": "\#859900", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": " | ", + "color": "\#6c71c4", + "background": "\#2F2F2F", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${time %a, %d/%m/%y} ", + "color": "\#fdf6e3", + "background": "\#6c71c4", + "separator": true, + "separator_block_width": 0 + }, + { + "full_text": "  ${time %H:%M:%S} ", + "color": "\#fdf6e3", + "background": "\#6c71c4", + "separator": true, + "separator_block_width": 0 + } + ], +]] diff --git a/.config/i3/old-arco/i3blocks-awesome.conf b/.config/i3/old-arco/i3blocks-awesome.conf new file mode 100644 index 0000000..ae8a564 --- /dev/null +++ b/.config/i3/old-arco/i3blocks-awesome.conf @@ -0,0 +1,135 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# background +# border +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/local/libexec/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +[CPU] +label= +#command=ps -eo pcpu,comm | sort -k 1 -nr | head -1 +command=ps -Ao pcpu,comm --sort=-pcpu --no-headers | head -n 1 +interval=2 + +[CPU] +label= +command=sensors | grep "Core 0" | awk '{print $3}' +interval=10 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[cpu_usage] +#label=CPU +#interval=10 +#min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + +[Kernel] +label= +command=uname -r +interval=once + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label= +separator=false +interval=30 + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). + +[disk] +label= +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +#[iface] +#instance=enp2s0 +#color=#00FF00 +#interval=10 +#separator=false + +#[wifi] +#instance=wlp3s0 +#interval=10 +#separator=false + +[bandwidth] +label= +instance=enp2s0 +interval=5 + + +# Battery indicator +# +# The battery instance defaults to 0. +#[battery] +#label=BAT +#label=⚡ +#instance=1 +#interval=30 + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +#label=VOL +label= +instance=Master +#instance=PCM +interval=once +signal=10 + +# Date Time +# +[time] +label= +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 diff --git a/.config/i3/old-arco/i3blocks-original.conf b/.config/i3/old-arco/i3blocks-original.conf new file mode 100644 index 0000000..c719113 --- /dev/null +++ b/.config/i3/old-arco/i3blocks-original.conf @@ -0,0 +1,153 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/lib/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=MEM +separator=false +interval=30 + +[memory] +label=SWAP +instance=swap +separator=false +interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +label=HOME +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +color=#00FF00 +interval=10 +separator=false + +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + +[bandwidth] +#instance=eth0 +interval=5 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Date Time +# +[time] +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[temperature] +#label=TEMP +#interval=10 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/.config/i3/old-arco/i3blocks-rainbow.conf b/.config/i3/old-arco/i3blocks-rainbow.conf new file mode 100644 index 0000000..0cd345b --- /dev/null +++ b/.config/i3/old-arco/i3blocks-rainbow.conf @@ -0,0 +1,162 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/lib/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. + + + +# Memory usage +# +# Disk usage +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +color=#a54242 +label=HOME +#instance=/mnt/data +interval=30 + +[memory] +label=SWAP +instance=swap +separator=false +interval=30 + +# The type defaults to "mem" if the instance is not specified. +[memory] +#color=#00FF00 +color=#e97ac8 +label=MEM +separator=false +interval=30 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +color=#FFAF00 +label=CPU +interval=10 +min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + + +# Network interface monitoring +# +[bandwidth] +color=#00FF00 +#instance=eth0 +interval=5 + +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +#color=#00FF00 +interval=10 +separator=false +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Date Time +# +[time] +color=#0099ff +command=date '+%a %d-%m-%Y %H:%M:%S' +interval=5 + +[volume] +label=VOL +#label=♪ +instance=Master +#instance=PCM +interval=once +signal=10 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[temperature] +#label=TEMP +#interval=10 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/.config/i3/old-arco/i3blocks.conf b/.config/i3/old-arco/i3blocks.conf new file mode 100644 index 0000000..316e41a --- /dev/null +++ b/.config/i3/old-arco/i3blocks.conf @@ -0,0 +1,134 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# background +# border +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/lib/i3blocks/$BLOCK_NAME +separator_block_width=15 +markup=none + +[CPU] +#command=ps -eo pcpu,comm | sort -k 1 -nr | head -1 +command=ps -Ao pcpu,comm --sort=-pcpu --no-headers | head -n 1 +interval=2 + +[CPU] +label=TEMP +command=sensors | grep "Core 0" | awk '{print $3}' +interval=10 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[cpu_usage] +#label=CPU +#interval=10 +#min_width=CPU: 100.00% +#separator=false + +#[load_average] +#interval=10 + +[Kernel] +label=KERNEL +command=uname -r +interval=once + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=MEM +separator=false +interval=30 + +#[memory] +#label=SWAP +#instance=swap +#separator=false +#interval=30 + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). + +[disk] +label=ROOT +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +#[iface] +#instance=enp2s0 +#color=#00FF00 +#interval=10 +#separator=false + +#[wifi] +#instance=wlp3s0 +#interval=10 +#separator=false +# +#[bandwidth] +#label=NET +#instance=enp2s0 +interval=5 + + +# Battery indicator +# +# The battery instance defaults to 0. +#[battery] +#label=BAT +#label=⚡ +#instance=1 +#interval=30 + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. +[volume] +#label=VOL +label= +instance=Master +#instance=PCM +interval=once +signal=10 + +# Date Time +# +[time] +label= +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 diff --git a/.config/i3/old-arco/i3status.conf b/.config/i3/old-arco/i3status.conf new file mode 100644 index 0000000..7db05ac --- /dev/null +++ b/.config/i3/old-arco/i3status.conf @@ -0,0 +1,106 @@ +### Configuration file for i3status +## http://i3wm.org/i3status/ + + +################### +# GENERAL OPTIONS # +################### + +general { + colors = true + interval = 5 +} + +################### +# START AND ORDER # +################### + +#order += "cpu_temperature 0" +order += "cpu_usage" +order += "load" +order += "disk /" +order += "volume master" +order += "time" + + +################### +# SENSORS SETTING # +################### + + +##CPU temperature +cpu_temperature 0 { + format = "Temp: %degrees °C" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input" +} + + +## CPU sensor +cpu_usage { + format = "%usage" +} + +## system load sensor +load { + format = "%1min" +} + +## HDD sensor +disk "/" { + format = "%free" +} + + +## audio volume sensor +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" + device = "default" + mixer = "Master" + mixer_idx = 0 +} + +## time format +time { + format = "%d.%m.%Y %H:%M" +} + +######################################################################## +### The rest is not selected add it to the top at start and order +######################################################################## + +## ethernet sensor +ethernet enp2s0 { + # if you use %speed, i3status requires root privileges shows only if you have a 1000Mbit/s after ip adress) + #format_up = "E: %ip (%speed)" + format_up = "E: %ip" +} + +## VPN sensor +run_watch VPN { + pidfile = "/var/run/vpnc/pid" +} + +## wlan sensor +wireless wlan0 { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + + +## battery sensor +battery 0 { + format = "%status %percentage %remaining" + last_full_capacity = true +} + +## DHCP sensor +run_watch DHCP { + pidfile = "/var/run/dhclient*.pid" +} + + +## HDD sensor +disk "/home" { + format = "%free" +} diff --git a/.config/i3/old-arco/kde-i3.sh b/.config/i3/old-arco/kde-i3.sh new file mode 100644 index 0000000..d792c11 --- /dev/null +++ b/.config/i3/old-arco/kde-i3.sh @@ -0,0 +1,2 @@ +#!/bin/sh +export KDEWM=i3 diff --git a/.config/i3/old-arco/old/config-old b/.config/i3/old-arco/old/config-old new file mode 100644 index 0000000..425601c --- /dev/null +++ b/.config/i3/old-arco/old/config-old @@ -0,0 +1,1030 @@ +##################################################################################################################### +##################################################################################################################### +################# Start of all the settings ################# +##################################################################################################################### +##################################################################################################################### + + +# KEY DEFINITIONS TO REMEMBER + +# $Mod = WINDOWS key or Super key or Mod4 +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + + +##################################################################################################################### +################# Define the $mod variable/key ################# +##################################################################################################################### + +# Key to rule them all : Super(Windows) or Alt key? + +# Mod4 = Windows or Super key on keyboard +# Mod1 = Alt key on keyboard + +#Set Alt key +#set $mod Mod1 + +#set Super key +set $mod Mod4 + + + +##################################################################################################################### +################# Define the movements keys - variables ################# +##################################################################################################################### + + +#This is setup for qwerty +set $up l +set $down k +set $left j +set $right semicolon + +#This is setup for azerty +#set $up l +#set $down k +#set $left j +#set $right m + + + +##################################################################################################################### +################# Single and Dual screen ################# +##################################################################################################################### + + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +#exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +#exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +#exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +#exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto + + +# my current setup + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +set $firstMonitor HDMI1 +set $secondMonitor HDMI2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + + + +##################################################################################################################### +################# 3 menu's in arcolinux ################# +##################################################################################################################### + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# gmrun +bindsym mod1+F2 exec --no-startup-id gmrun + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start rofi full +bindsym $mod+F11 exec --no-startup-id rofi -show run -fullscreen -font "Noto Sans 13" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show run -font "Noto Sans 13" + + + +##################################################################################################################### +################# how to exit, logoff, suspend, ... ################# +##################################################################################################################### + +# current code +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + + +#Press $mod (super) and X to exit - check toolbar for next choices +bindsym $mod+X mode "$mode_system" +bindsym control+mod1+Delete mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + +##################################################################################################################### +################# reload changed configuration ################# +##################################################################################################################### + + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# reload the configuration file +bindsym $mod+Shift+c reload + + + + +##################################################################################################################### +################# Stopping an application ################# +##################################################################################################################### + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + + + +##################################################################################################################### +################# Moving around in i3 ################# +##################################################################################################################### + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + + + + +##################################################################################################################### +################# moving around workspaces ################# +##################################################################################################################### + + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +#navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + + + + + +##################################################################################################################### +################# Tiling parameters ################# +##################################################################################################################### + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + + + + + +##################################################################################################################### +################# resize ################# +##################################################################################################################### + + +# resize window (you can also use the mouse for that) + +bindsym $mod+r mode "resize" + +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $down resize grow height 10 px or 10 ppt + bindsym $up resize shrink height 10 px or 10 ppt + bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + + +##################################################################################################################### +################# choose the font ################# +##################################################################################################################### + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + + + + + +##################################################################################################################### +################# assign applications to workspaces ################# +##################################################################################################################### + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Workspace 1 browser related +#assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 1 +#assign [class="Chromium|Google-chrome"] → 1 + +# Workspace 2 text editor related +#assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +#assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +#assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +#assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +#assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +#assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +#assign [class="Meld"] → 5 + +# Workspace 6 all video related software +#assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +#assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +#assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +#assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +#assign [class="Spotify|spotify"] → 10 +#fix for spotify not moving to workspace 10 +#for_window [class="Spotify"] move to workspace 10 + + + + +##################################################################################################################### +################# autostart - execute applications at boot time ################# +##################################################################################################################### + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +#browser +#exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +#text-editor +#exec --no-startup-id geany +#exec --no-startup-id atom + +#file manager +#exec --no-startup-id thunar + +#Mail clients +#exec --no-startup-id evolution + +#Music +#exec --no-startup-id spotify +for_window [class="Spotify"] focus + + + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want + +#Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +#exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +#exec --no-startup-id dropbox start + +# insync +#exec --no-startup-id insync start + +# volume +#exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +#variety +#exec --no-startup-id variety + +# clipman +#exec --no-startup-id xfce4-clipman + +#Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +#feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +#Polybar +#exec_always --no-startup-id ~/.config/polybar/launch.sh & + +##################################################################################################################### +################# system applications ################# +##################################################################################################################### + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +#exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +##################################################################################################################### +################# applications keyboard shortcuts ################# +##################################################################################################################### + +#not workspace related + +#ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +#ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +#conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id termite;focus +bindsym $mod+KP_Enter exec --no-startup-id termite;focus +bindsym control+mod1+t exec --no-startup-id termite; focus +bindsym control+mod1+Return exec --no-startup-id termite; focus +bindsym control+mod1+KP_Enter exec --no-startup-id termite; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +#System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +#settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +#catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +#slimlock +#arcolinux conflict +bindsym Mod1+k exec slimlock +#use super + X to get to slimlock + +#rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +#arcolinux conflict +#bindsym $mod+m exec --no-startup-id pragha;focus + +#htop +#arcolinux conflict +#bindsym $mod+h exec --no-startup-id htop;focus + +#pavucontrol +#arcolinux conflict +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +#arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +#pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +#xkill +bindsym --release $mod+Escape exec xkill + +#workspace related + +#workspace 1 related +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +#qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +#workspace 2 related +#bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +#workspace 3 related +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +#workspace 4 related +bindsym $mod+F4 exec --no-startup-id gimp;focus + +#workspace 5 related +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +#workspace 6 related +bindsym $mod+F6 exec --no-startup-id vlc;focus + +#workspace 7 related +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +#workspace 8 related +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +#workspace 9 related +bindsym $mod+F9 exec --no-startup-id evolution;focus +#bindsym $mod+F9 exec --no-startup-id geary;focus +#bindsym control+mod1+e exec --no-startup-id geary;focus + +#workspace 10 related +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + + + + +##################################################################################################################### +################# screenshots ################# +##################################################################################################################### + + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +#bindsym shift+Print exec --no-startup-id shutter + + + + + +##################################################################################################################### +################# floating or tiled ################# +##################################################################################################################### + + +#floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +#for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +#for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + + +#for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + + +#for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + + + + + + +##################################################################################################################### +################# give focus to applications ################# +##################################################################################################################### + + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus + + + + + + +##################################################################################################################### +################# variety for your wallpapers ################# +##################################################################################################################### + + +#Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + + +##################################################################################################################### +################# variety with pywal for your wallpapers ################# +##################################################################################################################### + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + + +##################################################################################################################### +################# audio settings ################# +##################################################################################################################### + + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +#https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +#bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +#bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +#bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +#bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + + +##################################################################################################################### +################# xbacklight ################# +##################################################################################################################### + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + + + +##################################################################################################################### +################# bar toggle ################# +##################################################################################################################### + + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + + +##################################################################################################################### +################# border control ################# +##################################################################################################################### + + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +#changing border style +#super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border 1pixel +bindsym $mod+u border none + + +#new_window pixel 1 +new_window normal +#new_window none + +#new_float pixel 1 +new_float normal +#new_float none + + + + +##################################################################################################################### +################# Popups control ################# +##################################################################################################################### + +#Popups during fullscreen mode +popup_during_fullscreen smart + + + + +##################################################################################################################### +################# i3 gaps next ################# +##################################################################################################################### + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer 5 +#smart_gaps on +#smart_borders on + + + + + +##################################################################################################################### +################# i3 gaps change ################# +##################################################################################################################### + + + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + +##################################################################################################################### +################# picom of i3wm ################# +##################################################################################################################### + +#if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +################# bar appearance ################# +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + +bar { + + height 25 + workspace_buttons yes + font pango:Noto Sans 14 + + #position top + position bottom + + #system icons + #tray_output none + #tray_output $firstMonitor + #tray_output $secondMonitor + + + + # OPTION 1 : i3status + + # type status_command i3status without the config file and + # you will get the standard i3status bar + # Second one is the standard statusbar with my personal settings + + #status_command i3status + status_command i3status -c ~/.config/i3/i3status.conf + + + + # OPTION 2 : i3blocks + + # https://github.com/vivien/i3blocks + # another way to provide text in the statusbar + # put hastag in front if not installed + + #status_command i3blocks + #status_command i3blocks -c ~/.config/i3/i3blocks.conf + #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf + #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf + #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf + + + # OPTION 3 : conky + + # You can also replace the istatus bar with a conky + # start-conky-i3statusbar.sh is started and conky will follow + # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html + # conky configuration is in conky-i3statusbar + + #status_command ~/.config/i3/start-conky-i3statusbar.sh + + + + # OPTION 4 : polybar + + # polybar is launched elsewhere - search for the word + # from the opening of the "bar {...}" till the end has to go or hashtagged out + # in order for the system trayicons to show up in polybar + + + ##START THEMING BAR + #Theme name : ArcoLinux Default + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Default + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +######################################## THE END ########################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + + + +##################################################################################################################### +################# Scratchpad ################# +##################################################################################################################### + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +##################################################################################################################### +################# mouse settings in i3 ################# +##################################################################################################################### + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + + +##################################################################################################################### +################# keyboard control ################# +##################################################################################################################### + +# NOT USED + +# Settings of arcolinux will be applied +#exec --no-startup-id setxkbmap be +#exec --no-startup-id setxkbmap us + + + +##################################################################################################################### +################# unclutter ################# +##################################################################################################################### + +# NOT USED + +# get the mouse out of the way with unclutter +#exec --no-startup-id unclutter diff --git a/.config/i3/old-arco/old/config-polybar-old b/.config/i3/old-arco/old/config-polybar-old new file mode 100644 index 0000000..800458c --- /dev/null +++ b/.config/i3/old-arco/old/config-polybar-old @@ -0,0 +1,953 @@ +##################################################################################################################### +##################################################################################################################### +################# Start of all the settings ################# +##################################################################################################################### +##################################################################################################################### + + +# KEY DEFINITIONS TO REMEMBER + +# $Mod = WINDOWS key or Super key or Mod4 +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + + +##################################################################################################################### +################# Define the $mod variable/key ################# +##################################################################################################################### + +# Key to rule them all : Super(Windows) or Alt key? + +# Mod4 = Windows or Super key on keyboard +# Mod1 = Alt key on keyboard + +#Set Alt key +#set $mod Mod1 + +#set Super key +set $mod Mod4 + + + +##################################################################################################################### +################# Define the movements keys - variables ################# +##################################################################################################################### + + +#This is setup for qwerty +set $up l +set $down k +set $left j +set $right semicolon + +#This is setup for azerty +#set $up l +#set $down k +#set $left j +#set $right m + + + +##################################################################################################################### +################# Single and Dual screen ################# +##################################################################################################################### + + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +#exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +#exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +#exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +#exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto + + +# my current setup + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +set $firstMonitor HDMI1 +set $secondMonitor HDMI2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + + + +##################################################################################################################### +################# 3 menu's in arcolinux ################# +##################################################################################################################### + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# gmrun +bindsym mod1+F2 exec --no-startup-id gmrun + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start rofi full +bindsym $mod+F11 exec --no-startup-id rofi -show run -fullscreen -font "Noto Sans 13" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show run -font "Noto Sans 13" + + + +##################################################################################################################### +################# how to exit, logoff, suspend, ... ################# +##################################################################################################################### + +# current code +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + + +#Press $mod (super) and X to exit - check toolbar for next choices +bindsym $mod+X mode "$mode_system" +bindsym control+mod1+Delete mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + +# Future code +#bindsym $mod+Shift+e exec --no-startup-id arcolinux-logout +#bindsym $mod+X exec --no-startup-id arcolinux-logout + + +##################################################################################################################### +################# reload changed configuration ################# +##################################################################################################################### + + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# reload the configuration file +bindsym $mod+Shift+c reload + + + + +##################################################################################################################### +################# Stopping an application ################# +##################################################################################################################### + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + + + +##################################################################################################################### +################# Moving around in i3 ################# +##################################################################################################################### + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + + + + +##################################################################################################################### +################# moving around workspaces ################# +##################################################################################################################### + + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +#navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + + + + + +##################################################################################################################### +################# Tiling parameters ################# +##################################################################################################################### + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + + + + + +##################################################################################################################### +################# resize ################# +##################################################################################################################### + + +# resize window (you can also use the mouse for that) + +bindsym $mod+r mode "resize" + +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $down resize grow height 10 px or 10 ppt + bindsym $up resize shrink height 10 px or 10 ppt + bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + + +##################################################################################################################### +################# choose the font ################# +##################################################################################################################### + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + + + + + +##################################################################################################################### +################# assign applications to workspaces ################# +##################################################################################################################### + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Workspace 1 browser related +#assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 1 +#assign [class="Chromium|Google-chrome"] → 1 + +# Workspace 2 text editor related +#assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +#assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +#assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +#assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +#assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +#assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +#assign [class="Meld"] → 5 + +# Workspace 6 all video related software +#assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +#assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +#assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +#assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +#assign [class="Spotify|spotify"] → 10 +#fix for spotify not moving to workspace 10 +#for_window [class="Spotify"] move to workspace 10 + + + + +##################################################################################################################### +################# autostart - execute applications at boot time ################# +##################################################################################################################### + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +#browser +#exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +#text-editor +#exec --no-startup-id geany +#exec --no-startup-id atom + +#file manager +#exec --no-startup-id thunar + +#Mail clients +#exec --no-startup-id evolution + +#Music +#exec --no-startup-id spotify +for_window [class="Spotify"] focus + + + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want + +#Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +#exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +#exec --no-startup-id dropbox start + +# insync +#exec --no-startup-id insync start + +# volume +#exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +#variety +#exec --no-startup-id variety + +# clipman +#exec --no-startup-id xfce4-clipman + +#Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +#feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +#Polybar +exec_always --no-startup-id ~/.config/polybar/launch.sh & + +##################################################################################################################### +################# system applications ################# +##################################################################################################################### + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +#exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +##################################################################################################################### +################# applications keyboard shortcuts ################# +##################################################################################################################### + +#not workspace related + +#ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +#ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +#conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id termite;focus +bindsym $mod+KP_Enter exec --no-startup-id termite;focus +bindsym control+mod1+t exec --no-startup-id termite; focus +bindsym control+mod1+Return exec --no-startup-id termite; focus +bindsym control+mod1+KP_Enter exec --no-startup-id termite; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +#System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +#settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +#catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +#slimlock +#arcolinux conflict +bindsym Mod1+k exec slimlock + +#rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +#arcolinux conflict +#bindsym $mod+m exec --no-startup-id pragha;focus + +#htop +#arcolinux conflict +#bindsym $mod+h exec --no-startup-id htop;focus + +#pavucontrol +#arcolinux conflict +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +#arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +#pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +#xkill +bindsym --release $mod+Escape exec xkill + +#workspace related + +#workspace 1 related +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +#qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +#workspace 2 related +#bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +#workspace 3 related +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +#workspace 4 related +bindsym $mod+F4 exec --no-startup-id gimp;focus + +#workspace 5 related +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +#workspace 6 related +bindsym $mod+F6 exec --no-startup-id vlc;focus + +#workspace 7 related +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +#workspace 8 related +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +#workspace 9 related +bindsym $mod+F9 exec --no-startup-id evolution;focus +#bindsym $mod+F9 exec --no-startup-id geary;focus +#bindsym control+mod1+e exec --no-startup-id geary;focus + +#workspace 10 related +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + + + + +##################################################################################################################### +################# screenshots ################# +##################################################################################################################### + + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +#bindsym shift+Print exec --no-startup-id shutter + + + + + +##################################################################################################################### +################# floating or tiled ################# +##################################################################################################################### + + +#floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +#for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +#for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + + +#for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + + +#for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + + + + + + +##################################################################################################################### +################# give focus to applications ################# +##################################################################################################################### + + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus + + + + + + +##################################################################################################################### +################# variety for your wallpapers ################# +##################################################################################################################### + + +#Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + + +##################################################################################################################### +################# variety with pywal for your wallpapers ################# +##################################################################################################################### + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + + +##################################################################################################################### +################# audio settings ################# +##################################################################################################################### + + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +#https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +#bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +#bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +#bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +#bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + + +##################################################################################################################### +################# xbacklight ################# +##################################################################################################################### + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + + + +##################################################################################################################### +################# bar toggle ################# +##################################################################################################################### + + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + + +##################################################################################################################### +################# border control ################# +##################################################################################################################### + + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +#changing border style +#super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border 1pixel +bindsym $mod+u border none + + +#new_window pixel 1 +new_window normal +#new_window none + +#new_float pixel 1 +new_float normal +#new_float none + + + + +##################################################################################################################### +################# Popups control ################# +##################################################################################################################### + +#Popups during fullscreen mode +popup_during_fullscreen smart + + + + +##################################################################################################################### +################# i3 gaps next ################# +##################################################################################################################### + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer 5 +#smart_gaps on +#smart_borders on + + + + + +##################################################################################################################### +################# i3 gaps change ################# +##################################################################################################################### + + + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + +##################################################################################################################### +################# picom of i3wm ################# +##################################################################################################################### + +#if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +################# bar appearance ################# +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + +##START THEMING WM +#Theme name : ArcoLinux Default + + # class border backgr. text indicator + client.placeholder #242424 #242424 #242424 + client.background #242424 #242424 #242424 + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + +##STOP THEMING WM + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +######################################## THE END ########################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + + + +##################################################################################################################### +################# Scratchpad ################# +##################################################################################################################### + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +##################################################################################################################### +################# mouse settings in i3 ################# +##################################################################################################################### + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + + +##################################################################################################################### +################# keyboard control ################# +##################################################################################################################### + +# NOT USED + +# Settings of arcolinux will be applied +#exec --no-startup-id setxkbmap be +#exec --no-startup-id setxkbmap us + + + +##################################################################################################################### +################# unclutter ################# +##################################################################################################################### + +# NOT USED + +# get the mouse out of the way with unclutter +#exec --no-startup-id unclutter diff --git a/.config/i3/old-arco/picom.conf b/.config/i3/old-arco/picom.conf new file mode 100644 index 0000000..711cd18 --- /dev/null +++ b/.config/i3/old-arco/picom.conf @@ -0,0 +1,444 @@ +################################# +# Shadows # +################################# + + +# Enabled client-side shadows on windows. Note desktop windows +# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +# unless explicitly requested using the wintypes option. +# +# shadow = false +shadow = true; + +# The blur radius for shadows, in pixels. (defaults to 12) +# shadow-radius = 12 +shadow-radius = 7; + +# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) +# shadow-opacity = .75 + +# The left offset for shadows, in pixels. (defaults to -15) +# shadow-offset-x = -15 +shadow-offset-x = -7; + +# The top offset for shadows, in pixels. (defaults to -15) +# shadow-offset-y = -15 +shadow-offset-y = -7; + +# Avoid drawing shadows on dock/panel windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dock-shadow = false + +# Don't draw shadows on drag-and-drop windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dnd-shadow = false + +# Red color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-red = 0 + +# Green color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-green = 0 + +# Blue color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-blue = 0 + +# Do not paint shadows on shaped windows. Note shaped windows +# here means windows setting its shape through X Shape extension. +# Those using ARGB background is beyond our control. +# Deprecated, use +# shadow-exclude = 'bounding_shaped' +# or +# shadow-exclude = 'bounding_shaped && !rounded_corners' +# instead. +# +# shadow-ignore-shaped = '' + +# Specify a list of conditions of windows that should have no shadow. +# +# examples: +# shadow-exclude = "n:e:Notification"; +# +# shadow-exclude = [] +shadow-exclude = [ + "name = 'Notification'", + "class_g ?= 'Notify-osd'", + "name = 'Plank'", + "name = 'Docky'", + "name = 'Kupfer'", + "name = 'xfce4-notifyd'", + "name *= 'VLC'", + "name *= 'compton'", + "name *= 'Chromium'", + "name *= 'Chrome'", + "class_g = 'Firefox' && argb", + "class_g = 'Conky'", + "class_g = 'Kupfer'", + "class_g = 'Synapse'", + "class_g ?= 'Notify-osd'", + "class_g ?= 'Cairo-dock'", + "class_g = 'Cairo-clock'", + "class_g ?= 'Xfce4-notifyd'", + "class_g ?= 'Xfce4-power-manager'", + "_GTK_FRAME_EXTENTS@:c", +]; + +# Add this one too for ... + # "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +# Add this one above to the list to have no shadow in Openbox menu + # "! name~=''", + +# Specify a X geometry that describes the region in which shadow should not +# be painted in, such as a dock window region. Use +# shadow-exclude-reg = "x10+0+0" +# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. +# +# shadow-exclude-reg = "" + +# Crop shadow of a window fully on a particular Xinerama screen to the screen. +# xinerama-shadow-crop = false + + +################################# +# Fading # +################################# + + +# Fade windows in/out when opening/closing and when opacity changes, +# unless no-fading-openclose is used. +# fading = false +fading = false + +# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) +# fade-in-step = 0.028 +fade-in-step = 0.03; + +# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) +# fade-out-step = 0.03 +fade-out-step = 0.03; + +# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) +# fade-delta = 10 + +# Specify a list of conditions of windows that should not be faded. +# fade-exclude = [] + +# Do not fade on window open/close. +# no-fading-openclose = false + +# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# no-fading-destroyed-argb = false + + +################################# +# Transparency / Opacity # +################################# + + +# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# inactive-opacity = 1 +inactive-opacity = 1; + +# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +# frame-opacity = 1.0 +frame-opacity = 1; + +# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) +# menu-opacity = 1.0 + +# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# inactive-opacity-override = true +inactive-opacity-override = false; + +# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +# active-opacity = 1.0 + +# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +# inactive-dim = 0.0 + +# Specify a list of conditions of windows that should always be considered focused. +# focus-exclude = [] +focus-exclude = [ "class_g = 'Cairo-clock'" ]; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# inactive-dim-fixed = 1.0 + +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other +# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# example: +# opacity-rule = [ "80:class_g = 'URxvt'" ]; +# +opacity-rule = [ "80:class_g = 'Alacritty'" ] + + +################################# +# Background-Blurring # +################################# + + +# Parameters for background blurring, see the *BLUR* section for more information. +# blur-method = +# blur-size = 12 +# +# blur-deviation = false + +# Blur background of semi-transparent / ARGB windows. +# Bad in performance, with driver-dependent behavior. +# The name of the switch may change without prior notifications. +# +# blur-background = false + +# Blur background of windows when the window frame is not opaque. +# Implies: +# blur-background +# Bad in performance, with driver-dependent behavior. The name may change. +# +# blur-background-frame = false + + +# Use fixed blur strength rather than adjusting according to window opacity. +# blur-background-fixed = false + + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# +# blur-kern = '' +blur-kern = "3x3box"; + + +# Exclude conditions for background blur. +# blur-background-exclude = [] +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + +################################# +# General Settings # +################################# + +# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# daemon = false + +# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. +# `xrender` is the default one. +# +# backend = "glx" +# backend = "xr_glx_hybrid" +backend = "xrender"; + +# Enable/disable VSync. +vsync = false +#vsync = true + +# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. +# dbus = false + +# Try to detect WM windows (a non-override-redirect window with no +# child that has 'WM_STATE') and mark them as active. +# +# mark-wmwin-focused = false +mark-wmwin-focused = true; + +# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. +# mark-ovredir-focused = false +mark-ovredir-focused = true; + +# Try to detect windows with rounded corners and don't consider them +# shaped windows. The accuracy is not very high, unfortunately. +# +# detect-rounded-corners = false +detect-rounded-corners = true; + +# Detect '_NET_WM_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# +# detect-client-opacity = false +detect-client-opacity = true; + +# Specify refresh rate of the screen. If not specified or 0, picom will +# try detecting this with X RandR extension. +# +# refresh-rate = 60 +refresh-rate = 0 + +# Limit picom to repaint at most once every 1 / 'refresh_rate' second to +# boost performance. This should not be used with +# vsync drm/opengl/opengl-oml +# as they essentially does sw-opti's job already, +# unless you wish to specify a lower refresh rate than the actual value. +# +# sw-opti = + +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# provided that the WM supports it. +# +# use-ewmh-active-win = false + +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering +# when redirecting/unredirecting windows. +# +# unredir-if-possible = false + +# Delay before unredirecting the window, in milliseconds. Defaults to 0. +# unredir-if-possible-delay = 0 + +# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. +# unredir-if-possible-exclude = [] + +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# in the same group focused at the same time. +# +# detect-transient = false +detect-transient = true + +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if +# detect-transient is enabled, too. +# +# detect-client-leader = false +detect-client-leader = true + +# Resize damaged region by a specific number of pixels. +# A positive value enlarges it while a negative one shrinks it. +# If the value is positive, those additional pixels will not be actually painted +# to screen, only used in blur calculation, and such. (Due to technical limitations, +# with use-damage, those pixels will still be incorrectly painted to screen.) +# Primarily used to fix the line corruption issues of blur, +# in which case you should use the blur radius value here +# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# with a 5x5 one you use `--resize-damage 2`, and so on). +# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. +# +# resize-damage = 1 + +# Specify a list of conditions of windows that should be painted with inverted color. +# Resource-hogging, and is not well tested. +# +# invert-color-include = [] + +# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# Might cause incorrect opacity when rendering transparent content (but never +# practically happened) and may not work with blur-background. +# My tests show a 15% performance boost. Recommended. +# +# glx-no-stencil = false + +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, +# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). +# Recommended if it works. +# +# glx-no-rebind-pixmap = false + +# Disable the use of damage information. +# This cause the whole screen to be redrawn everytime, instead of the part of the screen +# has actually changed. Potentially degrades the performance, but might fix some artifacts. +# The opposing option is use-damage +# +# no-use-damage = false +use-damage = true + +# Use X Sync fence to sync clients' draw calls, to make sure all draw +# calls are finished before picom starts drawing. Needed on nvidia-drivers +# with GLX backend for some users. +# +# xrender-sync-fence = false + +# GLX backend: Use specified GLSL fragment shader for rendering window contents. +# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` +# in the source tree for examples. +# +# glx-fshader-win = '' + +# Force all windows to be painted with blending. Useful if you +# have a glx-fshader-win that could turn opaque pixels transparent. +# +# force-win-blend = false + +# Do not use EWMH to detect fullscreen windows. +# Reverts to checking if a window is fullscreen based only on its size and coordinates. +# +# no-ewmh-fullscreen = false + +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. +# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) +# +# max-brightness = 1.0 + +# Make transparent windows clip other windows like non-transparent windows do, +# instead of blending on top of them. +# +# transparent-clipping = false + +# Set the log level. Possible values are: +# "trace", "debug", "info", "warn", "error" +# in increasing level of importance. Case doesn't matter. +# If using the "TRACE" log level, it's better to log into a file +# using *--log-file*, since it can generate a huge stream of logs. +# +# log-level = "debug" +log-level = "warn"; + +# Set the log file. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. +# When setting this option from the config file, it is recommended to use an absolute path. +# +# log-file = '~/.config/compton.log' + +# Show all X errors (for debugging) +# show-all-xerrors = false + +# Write process ID to a file. +# write-pid-path = '/path/to/your/log/file' + +# Window type settings +# +# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# "tooltip", "notification", "combo", and "dnd". +# +# Following per window-type options are available: :: +# +# fade, shadow::: +# Controls window-type-specific shadow and fade settings. +# +# opacity::: +# Controls default opacity of the window type. +# +# focus::: +# Controls whether the window of this type is to be always considered focused. +# (By default, all window types except "normal" and "dialog" has this on.) +# +# full-shadow::: +# Controls whether shadow is drawn under the parts of the window that you +# normally won't be able to see. Useful when the window has parts of it +# transparent, and you want shadows in those areas. +# +# redir-ignore::: +# Controls whether this type of windows should cause screen to become +# redirected again after been unredirected. If you have unredir-if-possible +# set, and doesn't want certain window to cause unnecessary screen redirection, +# you can set this to `true`. +# +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { opacity = 0.9; } + dropdown_menu = { opacity = 0.9; } +}; diff --git a/.config/i3/old-arco/scripts/i3exit.sh b/.config/i3/old-arco/scripts/i3exit.sh new file mode 100755 index 0000000..63fcc72 --- /dev/null +++ b/.config/i3/old-arco/scripts/i3exit.sh @@ -0,0 +1,28 @@ +#!/bin/sh + + +case "$1" in + lock) + betterlockscreen -l dimblur -- --time-str="%H:%M" + ;; + logout) + i3-msg exit + ;; + suspend) + systemctl suspend + ;; + hibernate) + systemctl hibernate + ;; + reboot) + systemctl reboot + ;; + shutdown) + systemctl poweroff + ;; + *) + echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}" + exit 2 +esac + +exit 0 diff --git a/.config/i3/old-arco/scripts/picom-toggle.sh b/.config/i3/old-arco/scripts/picom-toggle.sh new file mode 100755 index 0000000..4c7deae --- /dev/null +++ b/.config/i3/old-arco/scripts/picom-toggle.sh @@ -0,0 +1,7 @@ +#!/bin/bash +if pgrep -x "picom" > /dev/null +then + killall picom +else + picom -b --config ~/.config/i3/picom.conf +fi diff --git a/.config/i3/old-arco/start-conky-i3statusbar.sh b/.config/i3/old-arco/start-conky-i3statusbar.sh new file mode 100755 index 0000000..048d41d --- /dev/null +++ b/.config/i3/old-arco/start-conky-i3statusbar.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# Send the header so that i3bar knows we want to use JSON: +echo '{"version":1}' + +# Begin the endless array. +echo '[' + +# We send an empty first array of blocks to make the loop simpler: +echo '[],' + +# Now send blocks with information forever: +exec conky -c $HOME/.config/i3/conky-i3statusbar diff --git a/.config/i3/old-arco/system-overview b/.config/i3/old-arco/system-overview new file mode 100644 index 0000000..6ba7e7f --- /dev/null +++ b/.config/i3/old-arco/system-overview @@ -0,0 +1,153 @@ +--[[ +#===================================================================================== +# arcolinux +# +# Author : Erik Dubois at http://www.erikdubois.be +# License : Distributed under the terms of GNU GPL version 2 or later +# Documentation : http://erikdubois.be/category/linux/aureola/ +#====================================================================================== + + +]] + +conky.config = { + + --Various settings + + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'celsius', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song + + + --Placement + + alignment = 'middle_right', -- top-left,top-middle,top-right,bottom-left,bottom-middle,bottom-right, + -- middle-left,middle-middle,middle-right,none + --Arch Duoscreen + --gap_x = -1910, + gap_x = 10, -- pixels between right or left border + gap_y = 10, -- pixels between bottom or left border + minimum_height = 200, -- minimum height of window + minimum_width = 280, -- minimum height of window + maximum_width = 280, -- maximum height of window + + --Graphical + + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 280, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + + extra_newline = false, -- extra newline at the end - for asesome's wiboxes + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Noto Mono:size=11:regular', -- font for complete conky unless in code defined + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + + own_window = true, -- create your own window to draw + own_window_argb_value = 150, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#000000', -- set colour if own_window_transparent no + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'system_conky', -- set the name manually - default conky "hostname" + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + + + --Colours + + default_color = '#ff0000', -- default color and border color + color1 = '#FFFFFF', + color2 = '#FFA726', + color3 = '#cccccc', + color4 = '#BDBDBD', + color5 = '#CCCCCC', + color6 = '#aa0000', + + --Signal Colours + color7 = '#1F7411', --green + color8 = '#FFA726', --orange + color9 = '#F1544B', --firebrick + + + --Lua + + +}; +conky.text = [[ +${color1}${alignc}S Y S T E M I N F O${color} +${color1}${hr}${color} +${color1}Host:${alignr}${color2}${nodename}${color} +#${color1}Kernel:${color2}${alignr}$kernel${color} +#${color1}Uptime:${color2}${alignr}${uptime}${color} +#${color1}UTC:${color2}${alignr}${utime %H:%M}${color} + +${color1}${goto 60}Used${alignr}Size${color} +${color1}Root${goto 60}${color2}${fs_used /}${alignr}${fs_size /}${color} +#${color1}Home${goto 60}${color2}${fs_used /home}${alignr}${fs_size /home}${color} + +${color1}${goto 60}Mem${alignr}Max${color} +${color1}RAM${goto 60}${color2}${mem}${alignr}${memmax}${color} +${color1}Swap${goto 60}${color2}${swap}${alignr}${swapmax}${color} + +${color1}CPU:${goto 60}Used${alignr}GHz${color} +${color1}Avg${goto 60}${color2}${if_match ${cpu cpu0}<50} ${cpu cpu0}\ +${else}${if_match ${cpu cpu0}<=100}${color9} ${cpu cpu0}\ +${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}${color} + +${color1}${alignc}S H O R T C U T K E Y S${color} +${color1}${hr}${color} +${color1}[S]+[Shift]+D${alignr}${color2}Main Menu${color} +${color1}[Alt]+F2${alignr}${color2}Alt Menu${color} +${color1}[Alt]+F3${alignr}${color2}Alt Menu${color} +${color1}${hr}${color} +${color1}[S]+Enter${alignr}${color2}Terminal${color} +${color1}[S]+[Shift]+Enter${alignr}${color2}File Manager${color} +${color1}[S]+F1${alignr}${color2}Firefox${color} +${color1}[S]+F2${alignr}${color2}Editor${color} +${color1}[S]+F6${alignr}${color2}Media Player${color} +${color1}[Ctrl]+[Shift]+Esc${alignr}${color2}Task Manager${color} +${color1}[Ctrl]+[Alt]+U${alignr}${color2}Volume Control${color} +${color1}[PrtSc]${alignr}${color2}Screenshot${color} +${color1}[Ctrl]+[Alt]+m${alignr}${color2}Settings${color} +${color1}[S]+[Shift]+R${alignr}${color2}Restart i3wm${color} +${color1}${hr}${color} +${color1}[S]+[Shift]+E${alignr}${color2}Stop i3wm${color} +${color1}[S]+[Shift]+Q${alignr}${color2}Stop application${color} +${color1}[S]+x${alignr}${color2}Exit${color} +${color1}${hr}${color} +${color1}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}${alignr}${execi 6000 lsb_release -a | grep 'Release'|awk {'print $2""$3""$4""$5'}}${color} +]]; diff --git a/.config/i3/old/config-old b/.config/i3/old/config-old new file mode 100644 index 0000000..425601c --- /dev/null +++ b/.config/i3/old/config-old @@ -0,0 +1,1030 @@ +##################################################################################################################### +##################################################################################################################### +################# Start of all the settings ################# +##################################################################################################################### +##################################################################################################################### + + +# KEY DEFINITIONS TO REMEMBER + +# $Mod = WINDOWS key or Super key or Mod4 +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + + +##################################################################################################################### +################# Define the $mod variable/key ################# +##################################################################################################################### + +# Key to rule them all : Super(Windows) or Alt key? + +# Mod4 = Windows or Super key on keyboard +# Mod1 = Alt key on keyboard + +#Set Alt key +#set $mod Mod1 + +#set Super key +set $mod Mod4 + + + +##################################################################################################################### +################# Define the movements keys - variables ################# +##################################################################################################################### + + +#This is setup for qwerty +set $up l +set $down k +set $left j +set $right semicolon + +#This is setup for azerty +#set $up l +#set $down k +#set $left j +#set $right m + + + +##################################################################################################################### +################# Single and Dual screen ################# +##################################################################################################################### + + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +#exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +#exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +#exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +#exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto + + +# my current setup + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +set $firstMonitor HDMI1 +set $secondMonitor HDMI2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + + + +##################################################################################################################### +################# 3 menu's in arcolinux ################# +##################################################################################################################### + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# gmrun +bindsym mod1+F2 exec --no-startup-id gmrun + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start rofi full +bindsym $mod+F11 exec --no-startup-id rofi -show run -fullscreen -font "Noto Sans 13" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show run -font "Noto Sans 13" + + + +##################################################################################################################### +################# how to exit, logoff, suspend, ... ################# +##################################################################################################################### + +# current code +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + + +#Press $mod (super) and X to exit - check toolbar for next choices +bindsym $mod+X mode "$mode_system" +bindsym control+mod1+Delete mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + +##################################################################################################################### +################# reload changed configuration ################# +##################################################################################################################### + + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# reload the configuration file +bindsym $mod+Shift+c reload + + + + +##################################################################################################################### +################# Stopping an application ################# +##################################################################################################################### + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + + + +##################################################################################################################### +################# Moving around in i3 ################# +##################################################################################################################### + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + + + + +##################################################################################################################### +################# moving around workspaces ################# +##################################################################################################################### + + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +#navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + + + + + +##################################################################################################################### +################# Tiling parameters ################# +##################################################################################################################### + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + + + + + +##################################################################################################################### +################# resize ################# +##################################################################################################################### + + +# resize window (you can also use the mouse for that) + +bindsym $mod+r mode "resize" + +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $down resize grow height 10 px or 10 ppt + bindsym $up resize shrink height 10 px or 10 ppt + bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + + +##################################################################################################################### +################# choose the font ################# +##################################################################################################################### + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + + + + + +##################################################################################################################### +################# assign applications to workspaces ################# +##################################################################################################################### + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Workspace 1 browser related +#assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 1 +#assign [class="Chromium|Google-chrome"] → 1 + +# Workspace 2 text editor related +#assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +#assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +#assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +#assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +#assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +#assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +#assign [class="Meld"] → 5 + +# Workspace 6 all video related software +#assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +#assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +#assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +#assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +#assign [class="Spotify|spotify"] → 10 +#fix for spotify not moving to workspace 10 +#for_window [class="Spotify"] move to workspace 10 + + + + +##################################################################################################################### +################# autostart - execute applications at boot time ################# +##################################################################################################################### + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +#browser +#exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +#text-editor +#exec --no-startup-id geany +#exec --no-startup-id atom + +#file manager +#exec --no-startup-id thunar + +#Mail clients +#exec --no-startup-id evolution + +#Music +#exec --no-startup-id spotify +for_window [class="Spotify"] focus + + + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want + +#Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +#exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +#exec --no-startup-id dropbox start + +# insync +#exec --no-startup-id insync start + +# volume +#exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +#variety +#exec --no-startup-id variety + +# clipman +#exec --no-startup-id xfce4-clipman + +#Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +#feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +#Polybar +#exec_always --no-startup-id ~/.config/polybar/launch.sh & + +##################################################################################################################### +################# system applications ################# +##################################################################################################################### + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +#exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +##################################################################################################################### +################# applications keyboard shortcuts ################# +##################################################################################################################### + +#not workspace related + +#ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +#ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +#conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id termite;focus +bindsym $mod+KP_Enter exec --no-startup-id termite;focus +bindsym control+mod1+t exec --no-startup-id termite; focus +bindsym control+mod1+Return exec --no-startup-id termite; focus +bindsym control+mod1+KP_Enter exec --no-startup-id termite; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +#System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +#settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +#catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +#slimlock +#arcolinux conflict +bindsym Mod1+k exec slimlock +#use super + X to get to slimlock + +#rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +#arcolinux conflict +#bindsym $mod+m exec --no-startup-id pragha;focus + +#htop +#arcolinux conflict +#bindsym $mod+h exec --no-startup-id htop;focus + +#pavucontrol +#arcolinux conflict +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +#arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +#pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +#xkill +bindsym --release $mod+Escape exec xkill + +#workspace related + +#workspace 1 related +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +#qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +#workspace 2 related +#bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +#workspace 3 related +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +#workspace 4 related +bindsym $mod+F4 exec --no-startup-id gimp;focus + +#workspace 5 related +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +#workspace 6 related +bindsym $mod+F6 exec --no-startup-id vlc;focus + +#workspace 7 related +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +#workspace 8 related +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +#workspace 9 related +bindsym $mod+F9 exec --no-startup-id evolution;focus +#bindsym $mod+F9 exec --no-startup-id geary;focus +#bindsym control+mod1+e exec --no-startup-id geary;focus + +#workspace 10 related +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + + + + +##################################################################################################################### +################# screenshots ################# +##################################################################################################################### + + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +#bindsym shift+Print exec --no-startup-id shutter + + + + + +##################################################################################################################### +################# floating or tiled ################# +##################################################################################################################### + + +#floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +#for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +#for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + + +#for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + + +#for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + + + + + + +##################################################################################################################### +################# give focus to applications ################# +##################################################################################################################### + + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus + + + + + + +##################################################################################################################### +################# variety for your wallpapers ################# +##################################################################################################################### + + +#Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + + +##################################################################################################################### +################# variety with pywal for your wallpapers ################# +##################################################################################################################### + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + + +##################################################################################################################### +################# audio settings ################# +##################################################################################################################### + + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +#https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +#bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +#bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +#bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +#bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + + +##################################################################################################################### +################# xbacklight ################# +##################################################################################################################### + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + + + +##################################################################################################################### +################# bar toggle ################# +##################################################################################################################### + + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + + +##################################################################################################################### +################# border control ################# +##################################################################################################################### + + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +#changing border style +#super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border 1pixel +bindsym $mod+u border none + + +#new_window pixel 1 +new_window normal +#new_window none + +#new_float pixel 1 +new_float normal +#new_float none + + + + +##################################################################################################################### +################# Popups control ################# +##################################################################################################################### + +#Popups during fullscreen mode +popup_during_fullscreen smart + + + + +##################################################################################################################### +################# i3 gaps next ################# +##################################################################################################################### + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer 5 +#smart_gaps on +#smart_borders on + + + + + +##################################################################################################################### +################# i3 gaps change ################# +##################################################################################################################### + + + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + +##################################################################################################################### +################# picom of i3wm ################# +##################################################################################################################### + +#if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +################# bar appearance ################# +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + +bar { + + height 25 + workspace_buttons yes + font pango:Noto Sans 14 + + #position top + position bottom + + #system icons + #tray_output none + #tray_output $firstMonitor + #tray_output $secondMonitor + + + + # OPTION 1 : i3status + + # type status_command i3status without the config file and + # you will get the standard i3status bar + # Second one is the standard statusbar with my personal settings + + #status_command i3status + status_command i3status -c ~/.config/i3/i3status.conf + + + + # OPTION 2 : i3blocks + + # https://github.com/vivien/i3blocks + # another way to provide text in the statusbar + # put hastag in front if not installed + + #status_command i3blocks + #status_command i3blocks -c ~/.config/i3/i3blocks.conf + #status_command i3blocks -c ~/.config/i3/i3blocks-rainbow.conf + #status_command i3blocks -c ~/.config/i3/i3blocks-original.conf + #status_command i3blocks -c ~/.config/i3/i3blocks-awesome.conf + + + # OPTION 3 : conky + + # You can also replace the istatus bar with a conky + # start-conky-i3statusbar.sh is started and conky will follow + # documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html + # conky configuration is in conky-i3statusbar + + #status_command ~/.config/i3/start-conky-i3statusbar.sh + + + + # OPTION 4 : polybar + + # polybar is launched elsewhere - search for the word + # from the opening of the "bar {...}" till the end has to go or hashtagged out + # in order for the system trayicons to show up in polybar + + + ##START THEMING BAR + #Theme name : ArcoLinux Default + + # i3 bar colors + # variable border background Text + + colors { + background #2F2F2F + statusline #eeeeee + separator #666666 + + # colorclass border backgr. text + focused_workspace #a9a9a9 #5f676a #eeeeee + active_workspace #a9a9a9 #5f676a #eeeeee + inactive_workspace #a9a9a9 #222222 #a9a9a9 + urgent_workspace #a9a9a9 #d42121 #FFFFFF + } + + } + ##STOP THEMING BAR + + ##START THEMING WM + #Theme name : ArcoLinux Default + + # Window color settings + # class border backgr. text indicator + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.placeholder #222222 #222222 #aaaaaa #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + + client.background #242424 + + ##STOP THEMING WM + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +######################################## THE END ########################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + + + +##################################################################################################################### +################# Scratchpad ################# +##################################################################################################################### + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +##################################################################################################################### +################# mouse settings in i3 ################# +##################################################################################################################### + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + + +##################################################################################################################### +################# keyboard control ################# +##################################################################################################################### + +# NOT USED + +# Settings of arcolinux will be applied +#exec --no-startup-id setxkbmap be +#exec --no-startup-id setxkbmap us + + + +##################################################################################################################### +################# unclutter ################# +##################################################################################################################### + +# NOT USED + +# get the mouse out of the way with unclutter +#exec --no-startup-id unclutter diff --git a/.config/i3/old/config-polybar-old b/.config/i3/old/config-polybar-old new file mode 100644 index 0000000..800458c --- /dev/null +++ b/.config/i3/old/config-polybar-old @@ -0,0 +1,953 @@ +##################################################################################################################### +##################################################################################################################### +################# Start of all the settings ################# +##################################################################################################################### +##################################################################################################################### + + +# KEY DEFINITIONS TO REMEMBER + +# $Mod = WINDOWS key or Super key or Mod4 +# Mod1 = ALT key +# Control = CTRL key +# Shift = SHIFT key +# Escape = ESCAPE key +# Return = ENTER or RETURN key +# KP_Enter = Keypad Enter +# Pause = PAUSE key +# Print = PRINT key +# Tab = TAB key + + +##################################################################################################################### +################# Define the $mod variable/key ################# +##################################################################################################################### + +# Key to rule them all : Super(Windows) or Alt key? + +# Mod4 = Windows or Super key on keyboard +# Mod1 = Alt key on keyboard + +#Set Alt key +#set $mod Mod1 + +#set Super key +set $mod Mod4 + + + +##################################################################################################################### +################# Define the movements keys - variables ################# +##################################################################################################################### + + +#This is setup for qwerty +set $up l +set $down k +set $left j +set $right semicolon + +#This is setup for azerty +#set $up l +#set $down k +#set $left j +#set $right m + + + +##################################################################################################################### +################# Single and Dual screen ################# +##################################################################################################################### + + +# setting variables for later use +# use xrandr and/or arandr to know the names of your monitors +# use this line to tell which monitor is on the right +# xrandr --output DVI-I-2 --right-of DVI-I-1 --auto +#exec --no-startup-id xrandr --output LVDS1 --mode 1366x768 --output DP3 --mode 1920x1080 --right-of LVDS1 +#exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0 --auto +#exec --no-startup-id xrandr --output DVI-1 --right-of DVI-0 --auto +#exec --no-startup-id xrandr --output DVI-D-1 --right-of DVI-I-1 --auto +exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto + + +# my current setup + +#set $firstMonitor DP3 +#set $secondMonitor LVDS1 + +#set $firstMonitor DVI-I-0 +#set $secondMonitor HDMI-0 + + +#set $firstMonitor DVI-0 +#set $secondMonitor DVI-1 + +#set $firstMonitor DVI-I-1 +#set $secondMonitor DVI-D-1 + +set $firstMonitor HDMI1 +set $secondMonitor HDMI2 + +workspace 1 output $firstMonitor +workspace 2 output $firstMonitor +workspace 3 output $firstMonitor +workspace 4 output $firstMonitor +workspace 5 output $firstMonitor +workspace 6 output $secondMonitor +workspace 7 output $secondMonitor +workspace 8 output $secondMonitor +workspace 9 output $secondMonitor +workspace 10 output $secondMonitor + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1; workspace 1 +bindsym $mod+Shift+2 move container to workspace 2; workspace 2 +bindsym $mod+Shift+3 move container to workspace 3; workspace 3 +bindsym $mod+Shift+4 move container to workspace 4; workspace 4 +bindsym $mod+Shift+5 move container to workspace 5; workspace 5 +bindsym $mod+Shift+6 move container to workspace 6; workspace 6 +bindsym $mod+Shift+7 move container to workspace 7; workspace 7 +bindsym $mod+Shift+8 move container to workspace 8; workspace 8 +bindsym $mod+Shift+9 move container to workspace 9; workspace 9 +bindsym $mod+Shift+0 move container to workspace 10; workspace 10 + + + +##################################################################################################################### +################# 3 menu's in arcolinux ################# +##################################################################################################################### + +# start dmenu +bindsym $mod+shift+d exec --no-startup-id dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' + +# gmrun +bindsym mod1+F2 exec --no-startup-id gmrun + +# start xfce-appfinder +bindsym mod1+F3 exec --no-startup-id xfce4-appfinder + +# start rofi full +bindsym $mod+F11 exec --no-startup-id rofi -show run -fullscreen -font "Noto Sans 13" + +# start rofi small +bindsym $mod+F12 exec --no-startup-id rofi -show run -font "Noto Sans 13" + + + +##################################################################################################################### +################# how to exit, logoff, suspend, ... ################# +##################################################################################################################### + +# current code +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + + +#Press $mod (super) and X to exit - check toolbar for next choices +bindsym $mod+X mode "$mode_system" +bindsym control+mod1+Delete mode "$mode_system" + +set $mode_system System (k) lock, (l) logout, (u) suspend, (h) hibernate, (r) reboot, (s) shutdown +mode "$mode_system" { + bindsym k exec --no-startup-id ~/.config/i3/scripts/i3exit.sh lock, mode "default" + bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default" + bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default" + bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + +# Future code +#bindsym $mod+Shift+e exec --no-startup-id arcolinux-logout +#bindsym $mod+X exec --no-startup-id arcolinux-logout + + +##################################################################################################################### +################# reload changed configuration ################# +##################################################################################################################### + + +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# reload the configuration file +bindsym $mod+Shift+c reload + + + + +##################################################################################################################### +################# Stopping an application ################# +##################################################################################################################### + +# kill focused window +bindsym $mod+Shift+q kill +bindsym $mod+q kill + + + +##################################################################################################################### +################# Moving around in i3 ################# +##################################################################################################################### + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + + + + +##################################################################################################################### +################# moving around workspaces ################# +##################################################################################################################### + + +# next/previous workspace + +bindsym Mod1+Tab workspace next +bindsym Mod1+Shift+Tab workspace prev +bindsym $mod+Tab workspace back_and_forth + +#navigate workspaces next / previous +bindsym Mod1+Ctrl+Right workspace next +bindsym Mod1+Ctrl+Left workspace prev + +# switch to workspace with urgent window automatically +for_window [urgent=latest] focus + + + + + +##################################################################################################################### +################# Tiling parameters ################# +##################################################################################################################### + +# orientation for new workspaces +default_orientation horizontal + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +# Super + F in arcolinux is execute thunar +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# qwerty/azerty issue for letter z +bindsym $mod+s layout stacking +bindsym $mod+z layout tabbed +bindsym $mod+e layout toggle split + + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + + + + + +##################################################################################################################### +################# resize ################# +##################################################################################################################### + + +# resize window (you can also use the mouse for that) + +bindsym $mod+r mode "resize" + +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $down resize grow height 10 px or 10 ppt + bindsym $up resize shrink height 10 px or 10 ppt + bindsym $right resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + + +##################################################################################################################### +################# choose the font ################# +##################################################################################################################### + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# choose your font +font pango:Noto Mono Regular 13 + + + + + +##################################################################################################################### +################# assign applications to workspaces ################# +##################################################################################################################### + +# Assign application to start on a specific workspace +# you can find the class with the program xprop + +# Workspace 1 browser related +#assign [class="Firefox|Vivaldi-stable|Vivaldi-snapshot|Opera"] → 1 +#assign [class="Chromium|Google-chrome"] → 1 + +# Workspace 2 text editor related +#assign [class="sublime-text|sublime_text|Sublime_text|subl|Subl|subl3|Subl3"] → 2 +#assign [class="Xed|xed|Brackets|Atom|Code|Geany"] → 2 + +# Workspace 3 Inkscape +#assign [class="Inkscape"] → 3 + +# Workspace 4 Gimp +#assign [class="Gimp"] → 4 + +# Workspace 5 Images and meld +#assign [class="ristretto|Ristretto|shotwell|Shotwell|Xviewer|Nitrogen"] → 5 +#assign [class="feh|gthumb|Gthumb|eog|Eog|Pinta|pixeluvo|Pixeluvo"] → 5 +#assign [class="Meld"] → 5 + +# Workspace 6 all video related software +#assign [class="Vlc|vlc"] → 6 + +# Workspace 7 virtual machines and settings +#assign [class="Vmplayer|VirtualBox"] → 7 + +# Workspace 8 file managers +#assign [class="Nemo|Thunar|Caja|nautilus|Nautilus"] → 8 + +# Workspace 9 email clients +#assign [class="Geary|Evolution"] → 9 + +# Workspace 10 music related +#assign [class="Spotify|spotify"] → 10 +#fix for spotify not moving to workspace 10 +#for_window [class="Spotify"] move to workspace 10 + + + + +##################################################################################################################### +################# autostart - execute applications at boot time ################# +##################################################################################################################### + +# USER APPLICATIONS TO START AT BOOT + +# ArcoLinux Welcome App +exec --no-startup-id dex $HOME/.config/autostart/arcolinux-welcome-app.desktop + +#browser +#exec --no-startup-id vivaldi-stable +for_window [class="Vivaldi-stable"] focus + +#text-editor +#exec --no-startup-id geany +#exec --no-startup-id atom + +#file manager +#exec --no-startup-id thunar + +#Mail clients +#exec --no-startup-id evolution + +#Music +#exec --no-startup-id spotify +for_window [class="Spotify"] focus + + + +# TRAY APPLICATIONS + +# applications that are not installed will not start +# you may see a wheel - hashtag out things you do not want + +#Authentication dialog +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# Updater +exec --no-startup-id pamac-tray + +# bluetooth +#exec --no-startup-id blueberry-tray + +# network +exec --no-startup-id nm-applet + +# num lock activated +exec_always --no-startup-id numlockx on + +# dropbox +#exec --no-startup-id dropbox start + +# insync +#exec --no-startup-id insync start + +# volume +#exec --no-startup-id pasystray +exec --no-startup-id volumeicon + +#variety +#exec --no-startup-id variety + +# clipman +#exec --no-startup-id xfce4-clipman + +#Conky +exec --no-startup-id conky -c ~/.config/i3/system-overview + +#feh sets wallpaper +exec --no-startup-id feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg & + +#Polybar +exec_always --no-startup-id ~/.config/polybar/launch.sh & + +##################################################################################################################### +################# system applications ################# +##################################################################################################################### + +exec --no-startup-id xfce4-power-manager & +# ommitted next line to get super key to bring up the menu in xfce and avoid error then in i3 +# IF xfsettingsd is activated you can not change themes +#exec --no-startup-id xfsettingsd & +exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & + +##################################################################################################################### +################# applications keyboard shortcuts ################# +##################################################################################################################### + +#not workspace related + +#ArcoLinux Welcome App +bindsym control+mod1+w exec --no-startup-id arcolinux-welcome-app + +#ArcoLinux Tweak Tool +bindsym control+mod1+e exec --no-startup-id arcolinux-tweak-tool + +#conky +bindsym $mod+c exec --no-startup-id conky-toggle +bindsym control+mod1+Next exec --no-startup-id conky-rotate -n +bindsym control+mod1+Prior exec --no-startup-id conky-rotate -p + +# terminal +bindsym $mod+Return exec --no-startup-id termite;focus +bindsym $mod+KP_Enter exec --no-startup-id termite;focus +bindsym control+mod1+t exec --no-startup-id termite; focus +bindsym control+mod1+Return exec --no-startup-id termite; focus +bindsym control+mod1+KP_Enter exec --no-startup-id termite; focus +bindsym F12 exec --no-startup-id xfce4-terminal --drop-down; focus + +#System monitor +bindsym control+Shift+Escape exec --no-startup-id xfce4-taskmanager;focus + +#settings +bindsym control+mod1+m exec --no-startup-id xfce4-settings-manager + +#catfish +bindsym control+mod1+c exec --no-startup-id catfish;focus + +#slimlock +#arcolinux conflict +bindsym Mod1+k exec slimlock + +#rofi theme selector +bindsym control+mod1+r exec --no-startup-id rofi-theme-selector + +#arcolinux conflict +#bindsym $mod+m exec --no-startup-id pragha;focus + +#htop +#arcolinux conflict +#bindsym $mod+h exec --no-startup-id htop;focus + +#pavucontrol +#arcolinux conflict +bindsym control+mod1+u exec --no-startup-id pavucontrol + +# start xfce-appfinder +#arcolinux does not seem to work +bindsym control+mod1+a exec --no-startup-id xfce4-appfinder + +#pamac-manager +bindsym control+mod1+p exec --no-startup-id pamac-manager + +#xkill +bindsym --release $mod+Escape exec xkill + +#workspace related + +#workspace 1 related +bindsym $mod+F1 exec --no-startup-id exo-open --launch webbrowser;focus +#qwerty/azerty conflict with w +bindsym $mod+w exec --no-startup-id exo-open --launch webbrowser;focus +bindsym control+mod1+f exec --no-startup-id firefox;focus +bindsym control+mod1+v exec --no-startup-id vivaldi-stable;focus +bindsym control+mod1+g exec --no-startup-id chromium;focus + +#workspace 2 related +#bindsym $mod+F2 exec --no-startup-id geany;focus +bindsym $mod+F2 exec --no-startup-id atom;focus + +#workspace 3 related +bindsym $mod+F3 exec --no-startup-id inkscape;focus + +#workspace 4 related +bindsym $mod+F4 exec --no-startup-id gimp;focus + +#workspace 5 related +bindsym $mod+F5 exec --no-startup-id meld;focus +bindsym control+mod1+i exec --no-startup-id nitrogen;focus + +#workspace 6 related +bindsym $mod+F6 exec --no-startup-id vlc;focus + +#workspace 7 related +bindsym $mod+F7 exec --no-startup-id virtualbox;focus + +#workspace 8 related +for_window [class="Thunar"] focus +bindsym $mod+F8 exec --no-startup-id thunar;focus +bindsym $mod+Shift+Return exec --no-startup-id thunar;focus +bindsym $mod+Shift+KP_Enter exec --no-startup-id thunar;focus +bindsym control+mod1+b exec --no-startup-id thunar;focus + +#workspace 9 related +bindsym $mod+F9 exec --no-startup-id evolution;focus +#bindsym $mod+F9 exec --no-startup-id geary;focus +#bindsym control+mod1+e exec --no-startup-id geary;focus + +#workspace 10 related +bindsym $mod+F10 exec --no-startup-id spotify;focus +bindsym control+mod1+s exec --no-startup-id spotify;focus + + + + +##################################################################################################################### +################# screenshots ################# +##################################################################################################################### + + +bindsym Print exec --no-startup-id scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' +bindsym Control+Print exec --no-startup-id xfce4-screenshooter +bindsym Control+Shift+Print exec --no-startup-id gnome-screenshot -i +#bindsym shift+Print exec --no-startup-id shutter + + + + + +##################################################################################################################### +################# floating or tiled ################# +##################################################################################################################### + + +#floating enabled from some programs - find with xprop + +for_window [class="Arcolinux-welcome-app.py"] floating enable +#for_window [class="Arcolinux-tweak-tool.py"] floating enable +for_window [class="Bleachbit"] floating disable +for_window [class="Blueberry.py"] floating enable +for_window [class="Brasero"] floating disable +for_window [class="Galculator"] floating enable +for_window [class="Gnome-disks"] floating disable +for_window [class="^Gnome-font-viewer$"] floating enable +for_window [class="^Gpick$"] floating enable +for_window [class="Hexchat"] floating disable +for_window [class="Imagewriter"] floating enable +for_window [class="Font-manager"] floating enable +#for_window [class="qt5ct|Lxappearance] floating enable +for_window [class="Nitrogen"] floating disable +for_window [class="Pavucontrol"] floating disable +for_window [class="Peek"] floating enable +for_window [class="^Skype$"] floating enable +for_window [class="^Spotify$"] floating disable +for_window [class="System-config-printer.py"] floating enable +for_window [class="Unetbootin.elf"] floating enable +for_window [class="Usb-creator-gtk"] floating enable +for_window [class="^Vlc$"] floating disable +for_window [class="Wine"] floating disable +for_window [class="Xfburn"] floating disable +for_window [class="Xfce4-appfinder"] floating enable +for_window [class="Xfce4-settings-manager"] floating disable +for_window [class="Xfce4-taskmanager"] floating enable + + +#for_window [instance="gimp"] floating disable +for_window [instance="script-fu"] border normal +for_window [instance="variety"] floating disable + + +for_window [title="Copying"] floating enable +for_window [title="Deleting"] floating enable +for_window [title="Moving"] floating enable +for_window [title="^Terminator Preferences$"] floating enable + + +#for_window [window_role="^gimp-toolbox-color-dialog$"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="^Preferences$"] floating enable +for_window [window_role="setup"] floating enable + + + + + + +##################################################################################################################### +################# give focus to applications ################# +##################################################################################################################### + + +for_window [class="Gnome-terminal"] focus +for_window [class="Termite"] focus +for_window [class="Terminator"] focus + + + + + + +##################################################################################################################### +################# variety for your wallpapers ################# +##################################################################################################################### + + +#Variety keybindings mod1 = ALT +# trash wallpaper +bindsym mod1+t exec --no-startup-id variety -t +# next wallpaper +bindsym mod1+n exec --no-startup-id variety -n +bindsym mod1+Right exec --no-startup-id variety -n +# previous wallpaper +bindsym mod1+p exec --no-startup-id variety -p +bindsym mod1+Left exec --no-startup-id variety -p +# favorite wallpaper +bindsym mod1+f exec --no-startup-id variety -f +# pause wallpaper +bindsym mod1+Up exec --no-startup-id variety --pause +# resume wallpaper +bindsym mod1+Down exec --no-startup-id variety --resume + + +##################################################################################################################### +################# variety with pywal for your wallpapers ################# +##################################################################################################################### + +# next wallpaper +bindsym mod1+Shift+n exec --no-startup-id variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# previous wallpaper +bindsym mod1+Shift+p exec --no-startup-id variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# trash wallpaper +bindsym mod1+Shift+t exec --no-startup-id variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& +# Update Wallpaper +bindsym mod1+Shift+u exec --no-startup-id wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) + + +##################################################################################################################### +################# audio settings ################# +##################################################################################################################### + + +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'" +bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle" +#https://github.com/acrisci/playerctl/ +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioStop exec --no-startup-id playerctl stop +#bindsym XF86AudioPlay exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" +#bindsym XF86AudioNext exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" +#bindsym XF86AudioPrev exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" +#bindsym XF86AudioStop exec --no-startup-id "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" + + +##################################################################################################################### +################# xbacklight ################# +##################################################################################################################### + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 # decrease screen brightness + + + +##################################################################################################################### +################# bar toggle ################# +##################################################################################################################### + + +# bar toggle, hide or show +bindsym $mod+b bar mode toggle + + +##################################################################################################################### +################# border control ################# +##################################################################################################################### + + +# Border control +hide_edge_borders both +bindsym $mod+shift+b exec --no-startup-id i3-msg border toggle + +#changing border style +#super+t in arcolinux is starting terminal +bindsym $mod+t border normal +bindsym $mod+y border 1pixel +bindsym $mod+u border none + + +#new_window pixel 1 +new_window normal +#new_window none + +#new_float pixel 1 +new_float normal +#new_float none + + + + +##################################################################################################################### +################# Popups control ################# +##################################################################################################################### + +#Popups during fullscreen mode +popup_during_fullscreen smart + + + + +##################################################################################################################### +################# i3 gaps next ################# +##################################################################################################################### + +# Settings for I3 next gap git +# https://github.com/Airblader/i3/tree/gaps-next +# delete or uncomment the following lines if you do not have it or do not +# want it + + +for_window [class="^.*"] border pixel 2 +gaps inner 5 +gaps outer 5 +#smart_gaps on +#smart_borders on + + + + + +##################################################################################################################### +################# i3 gaps change ################# +##################################################################################################################### + + + +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} + +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + + + + +##################################################################################################################### +################# picom of i3wm ################# +##################################################################################################################### + +#if you want transparency on non-focused windows, ... +exec_always --no-startup-id picom --config ~/.config/i3/picom.conf + +bindsym control+mod1+o exec --no-startup-id ~/.config/i3/scripts/picom-toggle.sh + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +################# bar appearance ################# +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + +##START THEMING WM +#Theme name : ArcoLinux Default + + # class border backgr. text indicator + client.placeholder #242424 #242424 #242424 + client.background #242424 #242424 #242424 + client.focused #6790EB #6790EB #e5e5e5 #6790EB + client.unfocused #222222 #222222 #aaaaaa #222222 + client.focused_inactive #222222 #222222 #a9a9a9 #222222 + client.urgent #d42121 #d42121 #f7f7f7 #d42121 + +##STOP THEMING WM + +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +######################################## THE END ########################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### +##################################################################################################################### + + + +##################################################################################################################### +################# Scratchpad ################# +##################################################################################################################### + +# NOT USED + +# move the currently focused window to the scratchpad +# bindsym Mod1+Shift+minus move scratchpad + +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +# bindsym Mod1+minus scratchpad show + +##################################################################################################################### +################# mouse settings in i3 ################# +##################################################################################################################### + +# NOT USED + +# mouse settings +# The middle button over a titlebar kills the window +# bindsym --release button2 kill + +# The middle button and a modifer over any part of the window kills the window +# bindsym --whole-window $mod+button2 kill + +# The right button toggles floating +# bindsym button3 floating toggle +# bindsym $mod+button3 floating toggle + +# The side buttons move the window around +# bindsym button9 move left +# bindsym button8 move right + + +##################################################################################################################### +################# keyboard control ################# +##################################################################################################################### + +# NOT USED + +# Settings of arcolinux will be applied +#exec --no-startup-id setxkbmap be +#exec --no-startup-id setxkbmap us + + + +##################################################################################################################### +################# unclutter ################# +##################################################################################################################### + +# NOT USED + +# get the mouse out of the way with unclutter +#exec --no-startup-id unclutter diff --git a/.config/i3/picom.conf b/.config/i3/picom.conf new file mode 100644 index 0000000..711cd18 --- /dev/null +++ b/.config/i3/picom.conf @@ -0,0 +1,444 @@ +################################# +# Shadows # +################################# + + +# Enabled client-side shadows on windows. Note desktop windows +# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +# unless explicitly requested using the wintypes option. +# +# shadow = false +shadow = true; + +# The blur radius for shadows, in pixels. (defaults to 12) +# shadow-radius = 12 +shadow-radius = 7; + +# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) +# shadow-opacity = .75 + +# The left offset for shadows, in pixels. (defaults to -15) +# shadow-offset-x = -15 +shadow-offset-x = -7; + +# The top offset for shadows, in pixels. (defaults to -15) +# shadow-offset-y = -15 +shadow-offset-y = -7; + +# Avoid drawing shadows on dock/panel windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dock-shadow = false + +# Don't draw shadows on drag-and-drop windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dnd-shadow = false + +# Red color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-red = 0 + +# Green color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-green = 0 + +# Blue color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-blue = 0 + +# Do not paint shadows on shaped windows. Note shaped windows +# here means windows setting its shape through X Shape extension. +# Those using ARGB background is beyond our control. +# Deprecated, use +# shadow-exclude = 'bounding_shaped' +# or +# shadow-exclude = 'bounding_shaped && !rounded_corners' +# instead. +# +# shadow-ignore-shaped = '' + +# Specify a list of conditions of windows that should have no shadow. +# +# examples: +# shadow-exclude = "n:e:Notification"; +# +# shadow-exclude = [] +shadow-exclude = [ + "name = 'Notification'", + "class_g ?= 'Notify-osd'", + "name = 'Plank'", + "name = 'Docky'", + "name = 'Kupfer'", + "name = 'xfce4-notifyd'", + "name *= 'VLC'", + "name *= 'compton'", + "name *= 'Chromium'", + "name *= 'Chrome'", + "class_g = 'Firefox' && argb", + "class_g = 'Conky'", + "class_g = 'Kupfer'", + "class_g = 'Synapse'", + "class_g ?= 'Notify-osd'", + "class_g ?= 'Cairo-dock'", + "class_g = 'Cairo-clock'", + "class_g ?= 'Xfce4-notifyd'", + "class_g ?= 'Xfce4-power-manager'", + "_GTK_FRAME_EXTENTS@:c", +]; + +# Add this one too for ... + # "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +# Add this one above to the list to have no shadow in Openbox menu + # "! name~=''", + +# Specify a X geometry that describes the region in which shadow should not +# be painted in, such as a dock window region. Use +# shadow-exclude-reg = "x10+0+0" +# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. +# +# shadow-exclude-reg = "" + +# Crop shadow of a window fully on a particular Xinerama screen to the screen. +# xinerama-shadow-crop = false + + +################################# +# Fading # +################################# + + +# Fade windows in/out when opening/closing and when opacity changes, +# unless no-fading-openclose is used. +# fading = false +fading = false + +# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) +# fade-in-step = 0.028 +fade-in-step = 0.03; + +# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) +# fade-out-step = 0.03 +fade-out-step = 0.03; + +# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) +# fade-delta = 10 + +# Specify a list of conditions of windows that should not be faded. +# fade-exclude = [] + +# Do not fade on window open/close. +# no-fading-openclose = false + +# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# no-fading-destroyed-argb = false + + +################################# +# Transparency / Opacity # +################################# + + +# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# inactive-opacity = 1 +inactive-opacity = 1; + +# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +# frame-opacity = 1.0 +frame-opacity = 1; + +# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) +# menu-opacity = 1.0 + +# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# inactive-opacity-override = true +inactive-opacity-override = false; + +# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +# active-opacity = 1.0 + +# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +# inactive-dim = 0.0 + +# Specify a list of conditions of windows that should always be considered focused. +# focus-exclude = [] +focus-exclude = [ "class_g = 'Cairo-clock'" ]; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# inactive-dim-fixed = 1.0 + +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other +# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# example: +# opacity-rule = [ "80:class_g = 'URxvt'" ]; +# +opacity-rule = [ "80:class_g = 'Alacritty'" ] + + +################################# +# Background-Blurring # +################################# + + +# Parameters for background blurring, see the *BLUR* section for more information. +# blur-method = +# blur-size = 12 +# +# blur-deviation = false + +# Blur background of semi-transparent / ARGB windows. +# Bad in performance, with driver-dependent behavior. +# The name of the switch may change without prior notifications. +# +# blur-background = false + +# Blur background of windows when the window frame is not opaque. +# Implies: +# blur-background +# Bad in performance, with driver-dependent behavior. The name may change. +# +# blur-background-frame = false + + +# Use fixed blur strength rather than adjusting according to window opacity. +# blur-background-fixed = false + + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# +# blur-kern = '' +blur-kern = "3x3box"; + + +# Exclude conditions for background blur. +# blur-background-exclude = [] +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + +################################# +# General Settings # +################################# + +# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# daemon = false + +# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. +# `xrender` is the default one. +# +# backend = "glx" +# backend = "xr_glx_hybrid" +backend = "xrender"; + +# Enable/disable VSync. +vsync = false +#vsync = true + +# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. +# dbus = false + +# Try to detect WM windows (a non-override-redirect window with no +# child that has 'WM_STATE') and mark them as active. +# +# mark-wmwin-focused = false +mark-wmwin-focused = true; + +# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. +# mark-ovredir-focused = false +mark-ovredir-focused = true; + +# Try to detect windows with rounded corners and don't consider them +# shaped windows. The accuracy is not very high, unfortunately. +# +# detect-rounded-corners = false +detect-rounded-corners = true; + +# Detect '_NET_WM_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# +# detect-client-opacity = false +detect-client-opacity = true; + +# Specify refresh rate of the screen. If not specified or 0, picom will +# try detecting this with X RandR extension. +# +# refresh-rate = 60 +refresh-rate = 0 + +# Limit picom to repaint at most once every 1 / 'refresh_rate' second to +# boost performance. This should not be used with +# vsync drm/opengl/opengl-oml +# as they essentially does sw-opti's job already, +# unless you wish to specify a lower refresh rate than the actual value. +# +# sw-opti = + +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# provided that the WM supports it. +# +# use-ewmh-active-win = false + +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering +# when redirecting/unredirecting windows. +# +# unredir-if-possible = false + +# Delay before unredirecting the window, in milliseconds. Defaults to 0. +# unredir-if-possible-delay = 0 + +# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. +# unredir-if-possible-exclude = [] + +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# in the same group focused at the same time. +# +# detect-transient = false +detect-transient = true + +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if +# detect-transient is enabled, too. +# +# detect-client-leader = false +detect-client-leader = true + +# Resize damaged region by a specific number of pixels. +# A positive value enlarges it while a negative one shrinks it. +# If the value is positive, those additional pixels will not be actually painted +# to screen, only used in blur calculation, and such. (Due to technical limitations, +# with use-damage, those pixels will still be incorrectly painted to screen.) +# Primarily used to fix the line corruption issues of blur, +# in which case you should use the blur radius value here +# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# with a 5x5 one you use `--resize-damage 2`, and so on). +# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. +# +# resize-damage = 1 + +# Specify a list of conditions of windows that should be painted with inverted color. +# Resource-hogging, and is not well tested. +# +# invert-color-include = [] + +# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# Might cause incorrect opacity when rendering transparent content (but never +# practically happened) and may not work with blur-background. +# My tests show a 15% performance boost. Recommended. +# +# glx-no-stencil = false + +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, +# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). +# Recommended if it works. +# +# glx-no-rebind-pixmap = false + +# Disable the use of damage information. +# This cause the whole screen to be redrawn everytime, instead of the part of the screen +# has actually changed. Potentially degrades the performance, but might fix some artifacts. +# The opposing option is use-damage +# +# no-use-damage = false +use-damage = true + +# Use X Sync fence to sync clients' draw calls, to make sure all draw +# calls are finished before picom starts drawing. Needed on nvidia-drivers +# with GLX backend for some users. +# +# xrender-sync-fence = false + +# GLX backend: Use specified GLSL fragment shader for rendering window contents. +# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` +# in the source tree for examples. +# +# glx-fshader-win = '' + +# Force all windows to be painted with blending. Useful if you +# have a glx-fshader-win that could turn opaque pixels transparent. +# +# force-win-blend = false + +# Do not use EWMH to detect fullscreen windows. +# Reverts to checking if a window is fullscreen based only on its size and coordinates. +# +# no-ewmh-fullscreen = false + +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. +# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) +# +# max-brightness = 1.0 + +# Make transparent windows clip other windows like non-transparent windows do, +# instead of blending on top of them. +# +# transparent-clipping = false + +# Set the log level. Possible values are: +# "trace", "debug", "info", "warn", "error" +# in increasing level of importance. Case doesn't matter. +# If using the "TRACE" log level, it's better to log into a file +# using *--log-file*, since it can generate a huge stream of logs. +# +# log-level = "debug" +log-level = "warn"; + +# Set the log file. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. +# When setting this option from the config file, it is recommended to use an absolute path. +# +# log-file = '~/.config/compton.log' + +# Show all X errors (for debugging) +# show-all-xerrors = false + +# Write process ID to a file. +# write-pid-path = '/path/to/your/log/file' + +# Window type settings +# +# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# "tooltip", "notification", "combo", and "dnd". +# +# Following per window-type options are available: :: +# +# fade, shadow::: +# Controls window-type-specific shadow and fade settings. +# +# opacity::: +# Controls default opacity of the window type. +# +# focus::: +# Controls whether the window of this type is to be always considered focused. +# (By default, all window types except "normal" and "dialog" has this on.) +# +# full-shadow::: +# Controls whether shadow is drawn under the parts of the window that you +# normally won't be able to see. Useful when the window has parts of it +# transparent, and you want shadows in those areas. +# +# redir-ignore::: +# Controls whether this type of windows should cause screen to become +# redirected again after been unredirected. If you have unredir-if-possible +# set, and doesn't want certain window to cause unnecessary screen redirection, +# you can set this to `true`. +# +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { opacity = 0.9; } + dropdown_menu = { opacity = 0.9; } +}; diff --git a/.config/i3/scripts/i3exit.sh b/.config/i3/scripts/i3exit.sh new file mode 100755 index 0000000..63fcc72 --- /dev/null +++ b/.config/i3/scripts/i3exit.sh @@ -0,0 +1,28 @@ +#!/bin/sh + + +case "$1" in + lock) + betterlockscreen -l dimblur -- --time-str="%H:%M" + ;; + logout) + i3-msg exit + ;; + suspend) + systemctl suspend + ;; + hibernate) + systemctl hibernate + ;; + reboot) + systemctl reboot + ;; + shutdown) + systemctl poweroff + ;; + *) + echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}" + exit 2 +esac + +exit 0 diff --git a/.config/i3/scripts/picom-toggle.sh b/.config/i3/scripts/picom-toggle.sh new file mode 100755 index 0000000..4c7deae --- /dev/null +++ b/.config/i3/scripts/picom-toggle.sh @@ -0,0 +1,7 @@ +#!/bin/bash +if pgrep -x "picom" > /dev/null +then + killall picom +else + picom -b --config ~/.config/i3/picom.conf +fi diff --git a/.config/i3/start-conky-i3statusbar.sh b/.config/i3/start-conky-i3statusbar.sh new file mode 100755 index 0000000..048d41d --- /dev/null +++ b/.config/i3/start-conky-i3statusbar.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# Send the header so that i3bar knows we want to use JSON: +echo '{"version":1}' + +# Begin the endless array. +echo '[' + +# We send an empty first array of blocks to make the loop simpler: +echo '[],' + +# Now send blocks with information forever: +exec conky -c $HOME/.config/i3/conky-i3statusbar diff --git a/.config/i3/system-overview b/.config/i3/system-overview new file mode 100644 index 0000000..6ba7e7f --- /dev/null +++ b/.config/i3/system-overview @@ -0,0 +1,153 @@ +--[[ +#===================================================================================== +# arcolinux +# +# Author : Erik Dubois at http://www.erikdubois.be +# License : Distributed under the terms of GNU GPL version 2 or later +# Documentation : http://erikdubois.be/category/linux/aureola/ +#====================================================================================== + + +]] + +conky.config = { + + --Various settings + + background = true, -- forked to background + cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. + diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. + double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) + if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address + net_avg_samples = 2, -- The number of samples to average for net data + no_buffers = true, -- Subtract (file system) buffers from used memory? + temperature_unit = 'celsius', -- fahrenheit or celsius + text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 + update_interval = 1, -- update interval + imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song + + + --Placement + + alignment = 'middle_right', -- top-left,top-middle,top-right,bottom-left,bottom-middle,bottom-right, + -- middle-left,middle-middle,middle-right,none + --Arch Duoscreen + --gap_x = -1910, + gap_x = 10, -- pixels between right or left border + gap_y = 10, -- pixels between bottom or left border + minimum_height = 200, -- minimum height of window + minimum_width = 280, -- minimum height of window + maximum_width = 280, -- maximum height of window + + --Graphical + + border_inner_margin = 5, -- margin between border and text + border_outer_margin = 5, -- margin between border and edge of window + border_width = 0, -- border width in pixels + default_bar_width = 280, -- default is 0 - full width + default_bar_height = 10, -- default is 6 + default_gauge_height = 25, -- default is 25 + default_gauge_width =40, -- default is 40 + default_graph_height = 40, -- default is 25 + default_graph_width = 153, -- default is 0 - full width + default_shade_color = '#000000', -- default shading colour + default_outline_color = '#000000', -- default outline colour + draw_borders = false, -- draw borders around text + draw_graph_borders = true, -- draw borders around graphs + draw_shades = false, -- draw shades + draw_outline = false, -- draw outline + stippled_borders = 0, -- dashing the border + + --Textual + + extra_newline = false, -- extra newline at the end - for asesome's wiboxes + format_human_readable = true, -- KiB, MiB rather then number of bytes + font = 'Noto Mono:size=11:regular', -- font for complete conky unless in code defined + max_text_width = 0, -- 0 will make sure line does not get broken if width too smal + max_user_text = 16384, -- max text in conky default 16384 + override_utf8_locale = true, -- force UTF8 requires xft + short_units = true, -- shorten units from KiB to k + top_name_width = 21, -- width for $top name value default 15 + top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. + uppercase = false, -- uppercase or not + use_spacer = 'none', -- adds spaces around certain objects to align - default none + use_xft = true, -- xft font - anti-aliased font + xftalpha = 1, -- alpha of the xft font - between 0-1 + + --Windows + + own_window = true, -- create your own window to draw + own_window_argb_value = 150, -- real transparency - composite manager required 0-255 + own_window_argb_visual = true, -- use ARGB - composite manager required + own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop + own_window_colour = '#000000', -- set colour if own_window_transparent no + own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it + own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% + own_window_title = 'system_conky', -- set the name manually - default conky "hostname" + own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel + + + --Colours + + default_color = '#ff0000', -- default color and border color + color1 = '#FFFFFF', + color2 = '#FFA726', + color3 = '#cccccc', + color4 = '#BDBDBD', + color5 = '#CCCCCC', + color6 = '#aa0000', + + --Signal Colours + color7 = '#1F7411', --green + color8 = '#FFA726', --orange + color9 = '#F1544B', --firebrick + + + --Lua + + +}; +conky.text = [[ +${color1}${alignc}S Y S T E M I N F O${color} +${color1}${hr}${color} +${color1}Host:${alignr}${color2}${nodename}${color} +#${color1}Kernel:${color2}${alignr}$kernel${color} +#${color1}Uptime:${color2}${alignr}${uptime}${color} +#${color1}UTC:${color2}${alignr}${utime %H:%M}${color} + +${color1}${goto 60}Used${alignr}Size${color} +${color1}Root${goto 60}${color2}${fs_used /}${alignr}${fs_size /}${color} +#${color1}Home${goto 60}${color2}${fs_used /home}${alignr}${fs_size /home}${color} + +${color1}${goto 60}Mem${alignr}Max${color} +${color1}RAM${goto 60}${color2}${mem}${alignr}${memmax}${color} +${color1}Swap${goto 60}${color2}${swap}${alignr}${swapmax}${color} + +${color1}CPU:${goto 60}Used${alignr}GHz${color} +${color1}Avg${goto 60}${color2}${if_match ${cpu cpu0}<50} ${cpu cpu0}\ +${else}${if_match ${cpu cpu0}<=100}${color9} ${cpu cpu0}\ +${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}${color} + +${color1}${alignc}S H O R T C U T K E Y S${color} +${color1}${hr}${color} +${color1}[S]+[Shift]+D${alignr}${color2}Main Menu${color} +${color1}[Alt]+F2${alignr}${color2}Alt Menu${color} +${color1}[Alt]+F3${alignr}${color2}Alt Menu${color} +${color1}${hr}${color} +${color1}[S]+Enter${alignr}${color2}Terminal${color} +${color1}[S]+[Shift]+Enter${alignr}${color2}File Manager${color} +${color1}[S]+F1${alignr}${color2}Firefox${color} +${color1}[S]+F2${alignr}${color2}Editor${color} +${color1}[S]+F6${alignr}${color2}Media Player${color} +${color1}[Ctrl]+[Shift]+Esc${alignr}${color2}Task Manager${color} +${color1}[Ctrl]+[Alt]+U${alignr}${color2}Volume Control${color} +${color1}[PrtSc]${alignr}${color2}Screenshot${color} +${color1}[Ctrl]+[Alt]+m${alignr}${color2}Settings${color} +${color1}[S]+[Shift]+R${alignr}${color2}Restart i3wm${color} +${color1}${hr}${color} +${color1}[S]+[Shift]+E${alignr}${color2}Stop i3wm${color} +${color1}[S]+[Shift]+Q${alignr}${color2}Stop application${color} +${color1}[S]+x${alignr}${color2}Exit${color} +${color1}${hr}${color} +${color1}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}${alignr}${execi 6000 lsb_release -a | grep 'Release'|awk {'print $2""$3""$4""$5'}}${color} +]];