aboutsummaryrefslogtreecommitdiffstats
path: root/src/configs/shared/i3
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2022-05-30 10:03:45 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2022-05-30 10:03:45 -0500
commit03a83252b0adc365bb183f77f555e2add33c1ba1 (patch)
tree450d2526ed03d24fb99afd7b411f6aeb4cc79f74 /src/configs/shared/i3
parentAdd wallpaper and vim navigation keys for i3 (diff)
downloaddotfiles-03a83252b0adc365bb183f77f555e2add33c1ba1.zip
Add bsd updates
Diffstat (limited to '')
-rw-r--r--src/configs/shared/i3/config23
-rw-r--r--src/configs/shared/i3status/config53
2 files changed, 72 insertions, 4 deletions
diff --git a/src/configs/shared/i3/config b/src/configs/shared/i3/config
index 6688365..993a56b 100644
--- a/src/configs/shared/i3/config
+++ b/src/configs/shared/i3/config
@@ -30,8 +30,8 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
+bindsym XF86AudioRaiseVolume exec --no-startup-id mixer vol +10 && $refresh_i3status
+bindsym XF86AudioLowerVolume exec --no-startup-id mixer vol -10 && $refresh_i3status
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
@@ -188,12 +188,27 @@ bar {
status_command i3status
}
-exec --no-startup-id redshift -l 43.547302:-96.728333 -g 0.9
+exec --no-startup-id redshift -l 43.547302:-96.728333 -m randr -t 6500:3500
exec --no-startup-id feh --bg-scale $HOME/Pictures/wallpaper.jpg
+exec --no-startup-id spotifyd
for_window [class=".*"] border pixel 0
gaps inner 20
gaps outer 10
-smart_gaps on
+#smart_gaps on
smart_borders on
+#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
+
+# Sreen brightness controls
+#bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
+#bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
+
+# Touchpad controls
+#bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
+
+# Media player controls
+#bindsym XF86AudioPlay exec playerctl play
+#bindsym XF86AudioPause exec playerctl pause
+#bindsym XF86AudioNext exec playerctl next
+#bindsym XF86AudioPrev exec playerctl previous
diff --git a/src/configs/shared/i3status/config b/src/configs/shared/i3status/config
new file mode 100644
index 0000000..ba81c3a
--- /dev/null
+++ b/src/configs/shared/i3status/config
@@ -0,0 +1,53 @@
+# i3status configuration file.
+# see "man i3status" for documentation.
+
+# It is important that this file is edited as UTF-8.
+# The following line should contain a sharp s:
+# ß
+# If the above line is not correctly displayed, fix your editor first!
+
+general {
+ colors = true
+ interval = 5
+}
+
+order += "ipv6"
+order += "wireless _first_"
+order += "ethernet _first_"
+order += "battery all"
+order += "disk /"
+order += "load"
+order += "memory"
+order += "tztime local"
+
+wireless _first_ {
+ format_up = "W: (%quality at %essid) %ip"
+ format_down = "W: down"
+}
+
+ethernet _first_ {
+ format_up = "E: %ip (%speed)"
+ format_down = "E: down"
+}
+
+battery all {
+ format = "%status %percentage %remaining"
+}
+
+disk "/" {
+ format = "%avail"
+}
+
+load {
+ format = "%1min"
+}
+
+memory {
+ format = "%used | %available"
+ threshold_degraded = "1G"
+ format_degraded = "MEMORY < %available"
+}
+
+tztime local {
+ format = "%Y-%m-%d %H:%M:%S"
+}