updates to i3

This commit is contained in:
Solomon Laing 2021-12-28 13:44:13 +10:30
parent 9664331731
commit f1ccded3bc
2 changed files with 48 additions and 3 deletions

View File

@ -20,8 +20,8 @@ font "xft:Fira Code:antialias=true:hinting=true"
#font pango:DejaVu Sans Mono 8
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
# Don't need or want to use this, haven't been managing it.
#exec --no-startup-id dex --autostart --environment i3
# 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.
@ -32,7 +32,21 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# 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.
# General system startup apps
exec --no-startup-id nm-applet
exec --no-startup-id pactl
exec --no-startup-id blueman-applet
exec --no-startup-id /usr/lib/kdeconnectd
exec --no-startup-id kdeconnect-indicator
exec --no-startup-id dunst
# Startup Applications
exec --no-startup-id nextcloud
exec --no-startup-id slack
exec --no-startup-id element-desktop
exec --no-startup-id protonvpn
exec --no-startup-id powerkit
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
@ -41,6 +55,10 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use my custom brightness stuff
bindsym XF86MonBrightnessUp exec --no-startup-id /usr/local/bin/mod_backlight +10
bindsym XF86MonBrightnessDown exec --no-startup-id /usr/local/bin/mod_backlight -10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -176,3 +194,26 @@ bar {
gaps inner 8
gaps outer 4
# class border bground text indicator child_border
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
client.background #F8F8F2
bar {
colors {
background #282A36
statusline #F8F8F2
separator #44475A
focused_workspace #44475A #44475A #F8F8F2
active_workspace #282A36 #44475A #F8F8F2
inactive_workspace #282A36 #282A36 #BFBFBF
urgent_workspace #FF5555 #FF5555 #F8F8F2
binding_mode #FF5555 #FF5555 #F8F8F2
}
}

View File

@ -1,6 +1,10 @@
general {
colors = true
interval = 1
output_format = "i3bar"
colors = true
color_good = "#50FA7B"
color_degraded = "#F1FA8C"
color_bad = "#FF5555"
}
order += "ipv6"