Skip to content

Instantly share code, notes, and snippets.

@mothdotmonster
Last active April 1, 2022 11:39
Show Gist options
  • Save mothdotmonster/9ae70bc18caf68248e56bbf17a65efb3 to your computer and use it in GitHub Desktop.
Save mothdotmonster/9ae70bc18caf68248e56bbf17a65efb3 to your computer and use it in GitHub Desktop.
i3 configs i use

These are a few configuration tweaks I use with the i3 window manager.

Reqired extra programs: i3blocks scrot i3lock xautolock feh

Colors

bar {
	status_command i3blocks
		colors {
			background	#140b05
			statusline	#fc9505
			separator		#fc9505
			focused_workspace		#fc9505 #fc9505 #140b05
			inactive_workspace	#fc9505 #140b05 #c5630
			urgent_workspace		#fc9505 #fc9505 #140b05
	}
}

# class                 border  backgr. text    ind.		child_border
client.focused          #fc9505 #fc9505 #140b05 #fc9505	#fc9505
client.focused_inactive #fc9505 #140b05 #fc9505 #fc9505	#c56306
client.unfocused        #fc9505 #140b05 #c56306 #fc9505	#4e2e05
client.urgent           #fc9505 #fc9505 #140b05 #fc9505	#4e2e05
client.placeholder      #fc9505 #140b05 #4e2e05 #fc9505	#4e2e05

client.background       #140b05

Screenshots

bindsym Print exec "scrot 'Pictures/Screenshot from %F %T.png'"

Lock screen

bindsym Control+Mod4+l exec "i3lock -u -c 000000"
exec "xautolock -detectsleep -time 5 -locker \"i3lock -u -c 000000\""

i3blocks config

# Guess the weather hourly
[weather]
command=curl -Ss https://wttr.in/?format=1
interval=3600
color=#fc9505

# Update time every second
[time]
command=date '+%a, %b %d %Y %X'
interval=1
color=#fc9505

wallpaper

exec "~/.fehbg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment