i3 color from .Xresources, firefox default browser, border for terminal window, fix for new i3lock-color version
This commit is contained in:
@@ -90,7 +90,7 @@ for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [title="KeePassX$"] floating enable border normal
|
||||
|
||||
for_window [title="(?i)termite"] border pixel 3
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
@@ -153,7 +153,7 @@ bindsym XF86AudioPlay exec "if [ `cat /home/$USER/.scripts/playstate` = 0 ]; the
|
||||
bindsym XF86AudioStop exec "playerctl stop && echo '0'>/home/$USER/.scripts/playstate"
|
||||
|
||||
# Application Shortcuts
|
||||
bindsym $mod+b exec env GTK_THEME=Materia:light waterfox
|
||||
bindsym $mod+b exec firefox
|
||||
bindsym $mod+e exec source ~/.zshrc && termite -e 'ranger'
|
||||
bindsym $mod+m exec thunderbird
|
||||
|
||||
@@ -236,58 +236,34 @@ bindsym $mod+0 exec --no-startup-id "python ~/.scripts/i3lock.py"
|
||||
# to:
|
||||
# background $term_background
|
||||
# Same logic applied to everything else.
|
||||
# set_from_resource $term_background background
|
||||
# set_from_resource $term_foreground foreground
|
||||
# set_from_resource $term_color0 color0
|
||||
# set_from_resource $term_color1 color1
|
||||
# set_from_resource $term_color2 color2
|
||||
# set_from_resource $term_color3 color3
|
||||
# set_from_resource $term_color4 color4
|
||||
# set_from_resource $term_color5 color5
|
||||
# set_from_resource $term_color6 color6
|
||||
# set_from_resource $term_color7 color7
|
||||
# set_from_resource $term_color8 color8
|
||||
# set_from_resource $term_color9 color9
|
||||
# set_from_resource $term_color10 color10
|
||||
# set_from_resource $term_color11 color11
|
||||
# set_from_resource $term_color12 color12
|
||||
# set_from_resource $term_color13 color13
|
||||
# set_from_resource $term_color14 color14
|
||||
# set_from_resource $term_color15 color15
|
||||
|
||||
# Color palette used for i3
|
||||
# Variables are set based on the documentation:
|
||||
# https://i3wm.org/dovs/userguide.html#variables
|
||||
# Changing the value of one of the variables will
|
||||
# effect all the areas with the same color.
|
||||
set $i3_color1 #f9faf9
|
||||
set $i3_color2 #595b5b
|
||||
set $i3_color3 #353836
|
||||
set $i3_color4 #16a085
|
||||
set $i3_color5 #fdf6e3
|
||||
set $i3_color6 #eee8d5
|
||||
set $i3_color7 #e5201d
|
||||
set $i3_color8 #808380
|
||||
set $i3_color9 #434745
|
||||
set $i3_color10 #454948
|
||||
set $i3_color11 #80fff9
|
||||
set $i3_color12 #fdf6e3
|
||||
set $i3_color13 #cb4b16
|
||||
set $i3_color14 #268bd2
|
||||
set $i3_color15 #000000
|
||||
set $i3_color16 #ffffff
|
||||
set $i3_color17 #0c0c0c
|
||||
|
||||
set_from_resource $term_background background
|
||||
set_from_resource $term_foreground foreground
|
||||
set_from_resource $term_color0 color0
|
||||
set_from_resource $term_color1 color1
|
||||
set_from_resource $term_color2 color2
|
||||
set_from_resource $term_color3 color3
|
||||
set_from_resource $term_color4 color4
|
||||
set_from_resource $term_color5 color5
|
||||
set_from_resource $term_color6 color6
|
||||
set_from_resource $term_color7 color7
|
||||
set_from_resource $term_color8 color8
|
||||
set_from_resource $term_color9 color9
|
||||
set_from_resource $term_color10 color10
|
||||
set_from_resource $term_color11 color11
|
||||
set_from_resource $term_color12 color12
|
||||
set_from_resource $term_color13 color13
|
||||
set_from_resource $term_color14 color14
|
||||
set_from_resource $term_color15 color15
|
||||
|
||||
# Theme colors
|
||||
# class border backgr. text indic. child_border
|
||||
client.focused $i3_color4 $i3_color8 $i3_color11 $i3_color12
|
||||
client.focused_inactive $i3_color9 $i3_color9 $i3_color4 $i3_color10
|
||||
client.unfocused $i3_color9 $i3_color9 $i3_color4 $i3_color10
|
||||
client.urgent $i3_color13 $i3_color12 $i3_color4 $i3_color14
|
||||
client.placeholder $i3_color15 $i3_color17 $i3_color16 $i3_color15 $i3_color17
|
||||
# class backgr. border text indic. child_border
|
||||
client.focused $term_color4 $term_color4 $term_color15 $term_color12
|
||||
client.focused_inactive $term_color8 $term_color8 $term_color15 $term_color10
|
||||
client.unfocused $term_color8 $term_color8 $term_color15 $term_color10
|
||||
client.urgent $term_color13 $term_color12 $term_color15 $term_color14
|
||||
client.placeholder $term_color15 $term_color15 $term_color15 $term_color15
|
||||
|
||||
client.background $i3_color10
|
||||
client.background $term_color10
|
||||
|
||||
#############################
|
||||
### settings for i3-gaps: ###
|
||||
|
||||
Reference in New Issue
Block a user