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 168 169 170 171 172 173 174 175 176 177 178 | ## init ##
# variables
set $mod Mod4
set $ws1 "1:"
set $ws2 "2:"
set $ws3 "3:"
set $ws4 "4:"
set $ws5 "5:"
set $ws6 "6:"
set $ws7 "7:"
set $ws8 "8:"
set $ws9 "9:"
set $ws0 "10:"
set $bg-color #201912
set $inactive-bg-color #201912
set $text-color #97A09C
set $inactive-text-color #A4886C
set $urgent-bg-color #A4886C
# aesthetics
font pango:FixedsysTTF 11
for_window [class="^.*"] border pixel 0
#smart_gaps on
gaps inner 8
gaps outer 0
hide_edge_borders both
# i3bar
bar {
position top
# status_command $HOME/.config/i3/custom-i3status1.sh
status_command i3status
tray_output none
tray_padding 1
separator_symbol " "
# strip_workspace_numbers yes
colors {
statusline $inactive-text-color
background $bg-color
# border background text
focused_workspace $inactive-text-color $inactive-text-color $bg-color
inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
urgent_workspace $urgent-bg-color $urgent-bg-color $bg-color
}
}
# window colors
# border background text indicator
client.focused $bg-color $bg-color $text-color #00ff00
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
# disable mouse accelleration
exec_always xinput set-prop 11 270 -1
exec_always xinput set-prop 9 270 -1
exec_always xinput set-prop 14 143 0
# startup commands
exec_always xrandr --dpi 96
exec_always feh --bg-scale $HOME/Pictures/Wallpapers/jupiter.png
exec compton -f
exec --no-startup-id nm-applet
exec dbus-launch
## hotkeys ##
# app hotkeys
bindsym $mod+d exec dmenu_run -l 5 -p run: -fn FixedsysTTF -nb "$inactive-bg-color" -nf "$inactive-text-color" -sb "$inactive-text-color" -sf "$inactive-bg-color"
bindsym $mod+Return exec xfce4-terminal
bindsym $mod+shift+w exec google-chrome
bindsym $mod+shift+p exec google-chrome -incognito
bindsym $mod+shift+s exec steam
bindsym $mod+shift+m exec pragha
bindsym $mod+shift+v exec vlc
bindsym $mod+shift+f exec thunar
bindsym $mod+shift+g exec pidgin
bindsym $mod+shift+d exec mumble
# other hotkeys
bindsym $mod+shift+x exec locker
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id amixer set Master 1+ toggle
## wm keybindings ##
floating_modifier $mod
bindsym $mod+r mode "resize"
bindsym $mod+Shift+q kill
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# layout hotkeys
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+s layout stacking
bindsym $mod+w 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
# i3 system keys
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-msg exit"
# shift focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
## workspaces ##
# bind apps to workspaces
#assign [class="google-chrome"] $ws1
assign [class="Pidgin"] $ws2
assign [class="Mumble"] $ws2
assign [class="vlc"] $ws4
assign [class="Pragha"] $ws5
assign [class="Deadbeef"] $ws5
assign [class="Steam"] $ws6
assign [class="MultiMC5"] $ws6
assign [class="YaST2"] $ws7
assign [class="Deluge"] $ws8
assign [class="Transmission-remote-gui"] $ws8
assign [class="dota2"] $ws0
assign [class="Minecraft 1.8.9"] $ws0
# workspace navigation
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 $ws0
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 $ws0
## resize mode #
mode "resize" {
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
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
bindsym Return mode "default"
bindsym Escape mode "default"
}
|
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 | general {
colors = True
color_good = "#A4886C"
color_bad = "#A4886C"
color_degraded = "#A4886C"
interval = 1
}
order += "disk /"
order += "disk /home"
order += "disk /home/woat/.mountpoints/data"
#order += "cpu_usage"
#order += "battery 0"
order += "volume master"
order += "wireless _first_"
order += "path_exists VPN"
order += "tztime local"
disk "/" {
format = "root : %avail"
prefix_type = "custom"
}
disk "/home" {
format = "home : %avail"
prefix_type = "custom"
}
disk "/home/woat/.mountpoints/data" {
format = "data : %avail"
prefix_type = "custom"
}
cpu_usage {
format = ": %usage"
}
wireless _first_ {
format_up = ": %bitrate"
format_down = "☡"
}
path_exists VPN {
path = "/proc/sys/net/ipv4/conf/tun0"
format = ": %status"
}
battery 0 {
format = "%status %percentage"
format_down = " NULL"
status_chr = ": CHR"
status_bat = ": BAT"
status_full = ": FULL"
hide_seconds = true
last_full_capacity = true
integer_battery_capacity = true
}
volume master {
format = ": %volume"
device = "default"
mixer = "Master"
mixer_idx = 0
}
tztime local {
# format = ":%l:%M%p"
format = "%l:%M%p"
}
|
x