add flashfocus config, add minimal config for picom, tweak polybar config colors and others
This commit is contained in:
@@ -3,7 +3,7 @@ set $mod1 Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Maple Mono NF 8
|
||||
font pango:IosevkaTerm Nerd Font 8
|
||||
|
||||
# Monitors
|
||||
set $pm eDP-1
|
||||
@@ -21,25 +21,28 @@ exec nitrogen --restore
|
||||
|
||||
# Network Manager
|
||||
exec --no-startup-id nm-applet
|
||||
exec_always picom
|
||||
exec --no-startup-id picom &
|
||||
exec_always caffeine
|
||||
|
||||
exec_always --no-startup-id flashfocus
|
||||
# Hide Polybar
|
||||
bindsym $mod+Escape exec polybar-msg cmd toggle
|
||||
|
||||
# Scratchpad
|
||||
bindsym $mod+Shift+m move scratchpad
|
||||
bindsym $mod+m scratchpad show
|
||||
# Flashfocus
|
||||
bindsym $mod+n exec --no-startup-id flash_window
|
||||
|
||||
# Windows border/Tittle bar
|
||||
default_border pixel 3
|
||||
default_floating_border pixel 2
|
||||
# To disable set to "none"
|
||||
default_border none
|
||||
default_floating_border none
|
||||
# rofi bind
|
||||
bindsym $mod+d exec rofi -show drun -disable-history -show-icons
|
||||
|
||||
# Gaps
|
||||
gaps inner 4
|
||||
gaps outer 0
|
||||
gaps inner 6
|
||||
gaps outer 4
|
||||
|
||||
# Start XDG autostart .desktop files using dex. See also
|
||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||
@@ -263,17 +266,17 @@ bindsym $mod+r mode "resize"
|
||||
|
||||
# Define colors variables:
|
||||
# bg tab mode
|
||||
set $color1 #1d2021
|
||||
set $color2 #d8a657
|
||||
set $color3 #fabd3f
|
||||
set $color4 #928374
|
||||
#set $color1 #1d2021
|
||||
#set $color2 #d8a657
|
||||
#set $color3 #fabd3f
|
||||
#set $color4 #928374
|
||||
|
||||
# define colors for windows:
|
||||
#class border bground text indicator child_border
|
||||
client.focused $color2 $color1 $color3 $color2 $color2
|
||||
client.unfocused $color4 $color1 $color4 $color1 $color1
|
||||
client.focused_inactive $color4 $color1 $color4 $color4 $color1
|
||||
client.urgent $color3 $color3 $color2 $color2 $color1
|
||||
#client.focused $color2 $color1 $color3 $color2 $color2
|
||||
#client.unfocused $color4 $color1 $color4 $color1 $color1
|
||||
#client.focused_inactive $color4 $color1 $color4 $color4 $color1
|
||||
#client.urgent $color3 $color3 $color2 $color2 $color1
|
||||
|
||||
# Start Polybar
|
||||
exec_always ~/.config/polybar/launch.sh &
|
||||
|
||||
Reference in New Issue
Block a user