update i3 config
This commit is contained in:
parent
89bf38bb94
commit
6d627a4e23
153
conf/i3.config
153
conf/i3.config
@ -9,17 +9,70 @@
|
|||||||
#
|
#
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
set $mod Mod4
|
|
||||||
|
####################
|
||||||
|
# Windows settings #
|
||||||
|
####################
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
# font pango:monospace 12
|
# font pango:monospace 12
|
||||||
font pango:Delius 12, Icons 12
|
font pango:Delius 12, Icons 12
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
#font pango:DejaVu Sans Mono 8
|
#font pango:DejaVu Sans Mono 8
|
||||||
|
|
||||||
|
default_border pixel 2
|
||||||
|
default_floating_border pixel 2
|
||||||
|
hide_edge_borders none
|
||||||
|
smart_borders no_gaps
|
||||||
|
gaps inner 8
|
||||||
|
gaps outer 8
|
||||||
|
smart_gaps off
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###################
|
||||||
|
# Colors settings #
|
||||||
|
###################
|
||||||
|
|
||||||
|
# Colors set from ~/.Xresources
|
||||||
|
set_from_resource $background background
|
||||||
|
set_from_resource $foreground foreground
|
||||||
|
set_from_resource $color0 color0
|
||||||
|
set_from_resource $color1 color1
|
||||||
|
set_from_resource $color2 color2
|
||||||
|
set_from_resource $color3 color3
|
||||||
|
set_from_resource $color4 color4
|
||||||
|
set_from_resource $color5 color5
|
||||||
|
set_from_resource $color6 color6
|
||||||
|
set_from_resource $color7 color7
|
||||||
|
set_from_resource $color8 color8
|
||||||
|
set_from_resource $color9 color9
|
||||||
|
set_from_resource $color10 color10
|
||||||
|
set_from_resource $color11 color11
|
||||||
|
set_from_resource $color12 color12
|
||||||
|
set_from_resource $color13 color13
|
||||||
|
set_from_resource $color14 color14
|
||||||
|
set_from_resource $color15 color15
|
||||||
|
|
||||||
|
# Theme colors
|
||||||
|
# class border backgr. text indic. child_border
|
||||||
|
# My colors
|
||||||
|
client.background $background
|
||||||
|
|
||||||
|
client.focused $foreground $background $foreground $color2 $color2
|
||||||
|
client.unfocused $foreground $background $foreground $color4 $color4
|
||||||
|
client.focused_inactive $foreground $background $foreground $color4 $color4
|
||||||
|
client.urgent $foreground $background $foreground $color4 $color4
|
||||||
|
client.placeholder $foreground $background $foreground $color4 $color4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########
|
||||||
|
# Startup #
|
||||||
|
###########
|
||||||
|
|
||||||
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||||
# they are included here as an example. Modify as you see fit.
|
# they are included here as an example. Modify as you see fit.
|
||||||
|
|
||||||
@ -30,6 +83,16 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
|||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
# exec --no-startup-id nm-applet
|
# exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id nitrogen --restore
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Keybindings #
|
||||||
|
###############
|
||||||
|
|
||||||
|
# Modifier key
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
@ -189,6 +252,14 @@ bar {
|
|||||||
i3bar_command i3bar --transparency
|
i3bar_command i3bar --transparency
|
||||||
status_command i3status
|
status_command i3status
|
||||||
# status_command exec ~/bin/i3bar-sampler
|
# status_command exec ~/bin/i3bar-sampler
|
||||||
|
colors {
|
||||||
|
# background $background
|
||||||
|
focused_workspace $color2 $color9 $color7
|
||||||
|
active_workspace $color2 $color9 $color7
|
||||||
|
inactive_workspace $background $background $color7
|
||||||
|
urgent_workspace $foreground $color3 $color7
|
||||||
|
binding_mode $foreground $background $color7
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace 1 output primary
|
workspace 1 output primary
|
||||||
@ -196,81 +267,3 @@ bindsym $mod+x move workspace to output primary
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Windows ###
|
|
||||||
default_border pixel 5
|
|
||||||
new_window pixel 2
|
|
||||||
new_float pixel 2
|
|
||||||
hide_edge_borders none
|
|
||||||
smart_borders on
|
|
||||||
gaps inner 8
|
|
||||||
gaps outer 8
|
|
||||||
# smart_gaps on
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Colors ###
|
|
||||||
# Colors set from ~/.Xresources
|
|
||||||
set_from_resource $background background
|
|
||||||
set_from_resource $foreground foreground
|
|
||||||
set_from_resource $color0 color0
|
|
||||||
set_from_resource $color1 color1
|
|
||||||
set_from_resource $color2 color2
|
|
||||||
set_from_resource $color3 color3
|
|
||||||
set_from_resource $color4 color4
|
|
||||||
set_from_resource $color5 color5
|
|
||||||
set_from_resource $color6 color6
|
|
||||||
set_from_resource $color7 color7
|
|
||||||
set_from_resource $color8 color8
|
|
||||||
set_from_resource $color9 color9
|
|
||||||
set_from_resource $color10 color10
|
|
||||||
set_from_resource $color11 color11
|
|
||||||
set_from_resource $color12 color12
|
|
||||||
set_from_resource $color13 color13
|
|
||||||
set_from_resource $color14 color14
|
|
||||||
set_from_resource $color15 color15
|
|
||||||
|
|
||||||
# set $background #272827
|
|
||||||
# set $foreground #657b83
|
|
||||||
|
|
||||||
# set $black0 #0f1619
|
|
||||||
# set $black1 #365a5c
|
|
||||||
|
|
||||||
# set $red0 #393843
|
|
||||||
# set $red1 #662b37
|
|
||||||
|
|
||||||
# set $green0 #75404b
|
|
||||||
# set $green1 #193a48
|
|
||||||
|
|
||||||
# set $yellow0 #235964
|
|
||||||
# set $yellow1 #393843
|
|
||||||
|
|
||||||
# set $blue0 #0b4753
|
|
||||||
# set $blue1 #75404b
|
|
||||||
|
|
||||||
# set $magenta0 #2a474a
|
|
||||||
# set $magenta1 #662b37
|
|
||||||
|
|
||||||
# set $cyan0 #662b37
|
|
||||||
# set $cyan1 #083842
|
|
||||||
|
|
||||||
# set $white0 #bfbfbf
|
|
||||||
# set $white1 #bfbfbf
|
|
||||||
|
|
||||||
# Theme colors
|
|
||||||
# class border backgr. text indic. child_border
|
|
||||||
# My colors
|
|
||||||
client.background $background
|
|
||||||
|
|
||||||
client.focused $foreground $background $foreground $color2 $color2
|
|
||||||
client.unfocused $foreground $background $foreground $color4 $color4
|
|
||||||
client.focused_inactive $foreground $background $foreground $color4 $color4
|
|
||||||
client.urgent $foreground $background $foreground $color4 $color4
|
|
||||||
client.placeholder $foreground $background $foreground $color4 $color4
|
|
||||||
|
|
||||||
# client.background $background
|
|
||||||
|
|
||||||
# client.focused $foreground $background $foreground $red1 $red0
|
|
||||||
# client.unfocused $foreground $background $foreground $green1 $green0
|
|
||||||
# client.focused_inactive $foreground $background $foreground $blue1 $blue0
|
|
||||||
# client.urgent $foreground $background $foreground $magenta1 $magenta0
|
|
||||||
# client.placeholder $foreground $background $foreground $yellow1 $yellow0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user