1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | # General
set $mod Mod4
font pango:Misc Termsyn, Wuncon Siji
new_window pixel 3
focus_follows_mouse yes
floating_modifier $mod
workspace_auto_back_and_forth yes
## Gaps
gaps inner 20
gaps outer 20
smart_gaps on
smart_borders on
# Keybindings
## Quick Launch
bindsym $mod+Return exec --no-startup-id "termite"
bindsym $mod+Shift+t exec --no-startup-id "termite -e htop -t htop "
bindsym $mod+d exec --no-startup-id "rofi -show drun"
bindsym $mod+p exec --no-startup-id "termite -r 'filemanager' -t 'Vifm' -e vifm"
bindsym $mod+b exec --no-startup-id "chromium"
bindsym $mod+Shift+b exec --no-startup-id "chromium -incognito"
## Window Focus (vim)
bindsym $mod+Tab focus right
bindsym $mod+Shift+Tab focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
## Window Move
bindsym $mod+Shift+h move left 30px
bindsym $mod+Shift+j move down 30px
bindsym $mod+Shift+k move up 30px
bindsym $mod+Shift+l move right 30px
bindsym $mod+Shift+Right move workspace to output right
bindsym $mod+Shift+Down move container to output right
## Window Resize
bindsym $mod+Mod1+h resize shrink width 30 px or 10 ppt
bindsym $mod+Mod1+j resize shrink height 30 px or 10 ppt
bindsym $mod+Mod1+k resize grow height 30 px or 10 ppt
bindsym $mod+Mod1+l resize grow width 30 px or 10 ppt
## Tiling
bindsym $mod+y split h
bindsym $mod+u split v
bindsym $mod+g split toggle
bindsym $mod+f fullscreen
bindsym $mod+s layout stacking
bindsym $mod+t layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
#bindsym $mod+a focus parent
#bindsym $mod+p focus child
bindsym $mod+q kill
bindsym $mod+minus move scratchpad
bindsym $mod+equal scratchpad show
bindsym $mod+slash bar mode invisible
bindsym $mod+shift+slash bar mode dock
## Misc
bindsym $mod+Shift+C reload
bindsym $mod+Shift+R restart
bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'Exiting i3' -b 'Yeah' 'i3-msg exit'"
bindsym Print exec --no-startup-id "scrot -z '%y%m%d%H%m%S.png' -e 'mv $f ~/Pictures/scrots/'"
## Audio
bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -Mq set Master,0 5%+ unmute"
bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -Mq set Master,0 5%- unmute"
bindsym XF86AudioMute exec --no-startup-id "pamixer -t"
## Brightness
bindsym XF86MonBrightnessUp exec --no-startup-id "light -A 10"
bindsym XF86MonBrightnessDown exec --no-startup-id "light -U 10"
# Workspace
## Terminal
set $ws1 "1: TTY"
## Browser
set $ws2 "2: WEB"
## Lab
set $ws3 "3: LAB"
## Media
set $ws4 "4: MED"
## System
set $ws5 "5: SYS"
## Mailing
set $ws6 "6: COM"
## Doc
set $ws7 "7: DOC"
#set $ws8 mail
#set $ws9 "9"
set $ws10 "10: MON"
## Workspace keybinding
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
#bindsym $mod+8 workspace $ws8
#bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
## Move to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
#bindsym $mod+Shift+8 move container to workspace $ws8
#bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
## Specific window
for_window [title="(?i)terminal-file"] floating enable, resize set 600 300, move position cursor
for_window [window_role="pop-up|bubble|task_dialog|Preferences"] floating enable
for_window [window_type="dialog|menu"] floating enable
for_window [window_role="browser|GtkFileChooserDialog"] resize set 800 600, move position center
for_window [class="(?i)pavucontrol|lxappearance|xarchiver|kamus"] floating enable
for_window [window_role="(?i)filemanager"] floating enable, resize set 1280 600, move position center, focus
for_window [class="(?i)st|termite|viewnior|chromium|bomi|vimiv"] focus
for_window [class="(?i)securecrt|wireshark-gtk"] floating enable, border pixel 2
for_window [class="(?i)securecrt"] move window to scratchpad, scratchpad show
for_window [window_role="telnet"] move window to scratchpad, scratchpad show, floating enable, border pixel 0, resize set 1366 250, move absolute position 0 518
for_window [workspace=$ws2] layout tabbed
for_window [workspace=$ws6] layout tabbed
for_window [workspace=$ws7] layout tabbed
## Specific workspaces
assign [window_role="telnet"] $ws3
assign [title="htop"] $ws10
assign [window_role="filemanager"] $ws5
assign [class="(?i)telegram|irssi"] $ws6
assign [window_role="browser"] $ws2
assign [class="(?i)st|termite"] $ws1
assign [class="(?i)gns3|securecrt|wireshark-gtk"] $ws3
assign [class="(?i)mcomix|mpv|vimiv|gimp-2.8|smplayer"] $ws4
assign [class="(?i)subl3|mupdf|zathura|fbreader"] $ws7
# Color
set $cbg "#f26262"
set $ccolor "#efebe0"
set $cunfo "#cb8b8b"
set $cindi "#145ba7"
set $cindiu "#8a9db1"
#<colorclass> <border> <background> <text> <indicator> <child_border>
client.focused $cbg $cbg $ccolor $cindi $cbg
client.focused_inactive $cbg $cunfo $ccolor $cindiu $cunfo
client.unfocused $cbg $cunfo $ccolor $cindiu $cunfo
client.urgent $cbg $cunfo $ccolor $cindi $cunfo
# Startup
exec_always --no-startup-id "sh ~/.fehbg &"
exec_always --no-startup-id "sh ~/.config/polybar/launch.sh momiji"
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | [global/wm]
margin-top = 0
margin-bottom = 0
[color]
white = #fff
base = #efebe0
;brown = #51311a
brown = #666
orange = #fbb253
orange2 = #ef7922
purple = #e58a95
red = #f1383d
pink = #f26262
pink2 = #f64d64
[bar/momiji]
monitor = eDP-1
override-redirect = false
bottom = false
fixed-center = true
width = 100%
height = 24
font-0 = "Misc Termsyn:size=12;1"
font-1 = "Wuncon Siji:size=12;1"
background = ${color.base}
foreground = ${color.brown}
line-color = ${color.red}
underline-size = 0
overline-size = 0
border-bottom-size = 3
border-bottom-color = ${color.pink}
padding-left = 3
padding-right = 3
module-margin-left = 1
module-margin-right = 2
tray-position = right
tray-padding = 0
tray-maxsize = 16
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
modules-left = xwindow
modules-center = i3
modules-right = wifi cpu memory battery volume date
[module/xwindow]
type = internal/xwindow
format = <label>
label = %title%
label-maxlen = 75
[module/i3]
type = internal/i3
strip-wsnumbers = true
wrapping-scroll = false
label-focused =%name%
label-focused-foreground = ${color.pink}
label-focused-background = ${color.base}
label-focused-padding = 1
label-unfocused =%name%
label-unfocused-padding = 1
label-visible =%name%
label-visible-padding = 1
label-urgent =%name%
label-urgent-background = ${color.base}
label-urgent-foreground = ${color.red}
label-urgent-padding = 1
[module/wifi]
type = internal/network
interface = wlp3s0
interval = 1.0
udspeed-minwidth = 0
format-connected = <label-connected>
label-connected = %downspeed:8%
;format-connected = <ramp-signal> <label-connected>
;label-connected = %essid%
format-disconnected =
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
[module/cpu]
type = internal/cpu
label = %percentage%%
interval = 2
format-prefix = " "
[module/memory]
type = internal/memory
interval = 2
label = %mb_used%
format-prefix = " "
[module/battery]
type = internal/battery
full-at = 98
time-format = %H:%M
battery = BAT0
adapter = AC
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%% (%time%)
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage%% (%time%)
format-full = <label-full>
format-full-prefix = " "
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-framerate = 750
[module/volume]
type = internal/volume
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 18
mapped = true
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
format-muted-prefix = " "
label-muted = MUTE
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
ramp-volume-3 =
ramp-headphones-0 =
ramp-headphones-1 =
[module/date]
type = internal/date
interval = 30
label = %time%
time = %H:%M
time-alt = %Y-%m-%d
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | [options]
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
mouse_autohide = false
allow_bold = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
font = Misc Termsyn 12
scrollback_lines = 10000
search_wrap = true
cursor_blink = system
cursor_shape = block
browser = chromium
filter_unmatched_urls = true
#modify_other_keys = false
[colors]
# special
foreground = #c5c8c6
foreground_bold = #c5c8c6
cursor = #c5c8c6
background = rgba(29, 31, 33, 0.95)
# black
color0 = #282a2e
color8 = #373b41
# red
color1 = #a54242
color9 = #cc6666
# green
color2 = #8c9440
color10 = #b5bd68
# yellow
color3 = #de935f
color11 = #f0c674
# blue
color4 = #5f819d
color12 = #81a2be
# magenta
color5 = #85678f
color13 = #b294bb
# cyan
color6 = #5e8d87
color14 = #8abeb7
# white
color7 = #ececec
color15 = #c5c8c6
|
x
Notes
Mostly red (pinkish if you will). Dependencies:
- i3-gaps
- polybar
- termite (terminal.sexy’s your friend)
- Wuncon Siji, Termsyn
- Momiji background