summaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2020-03-05 20:56:26 -0600
committerDanny Holman <dholman@gymli.org>2020-03-05 20:56:26 -0600
commit4ee3a5780ecb38a8101019bd8664b13ae6dc9ef6 (patch)
tree98689abfff2f23ca3cb3f241c967eed26338336c /.config/i3
parent47719ba77ce4917c6715a879f4265749fca4b779 (diff)
General updates
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config26
1 files changed, 21 insertions, 5 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 4d53a3e..4b4263a 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -3,7 +3,7 @@
set $mod Mod4
# Default font
-font pango:xos4 Terminus 12
+font pango:Fira Code 12
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@@ -112,21 +112,38 @@ mode "$mode_system" {
bindsym Escape mode "default"
}
-# Custom key maps
+# Resize windows
bindsym $mod+Shift+k resize grow height 10 px or 10 ppt
bindsym $mod+Shift+j resize shrink height 10 px or 10 ppt
bindsym $mod+Shift+l resize grow width 10 px or 10 ppt
bindsym $mod+Shift+h resize shrink width 10 px or 10 ppt
+
+# Volume
+bindsym $mod+Shift+greater exec --no-startup-id amixer sset Master 5%+
+bindsym $mod+Shift+less exec --no-startup-id amixer sset Master 5%-
+bindsym $mod+Shift+m exec --no-startup-id amixer sset Master toggle
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle
+
+# Screen brightness
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10%
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10%
+
+# Screenshot
bindsym $mod+Print exec --no-startup-id scrot
+
+# System menu
bindsym $mod+Shift+s mode "$mode_system"
+
+# Cycle focused workspace
bindsym $mod+Tab workspace next
bindsym $mod+Shift+Tab workspace prev
+# Rofi binds
+bindsym $mod+Shift+w exec --no-startup-id "rofi -show window"
+bindsym $mod+Shift+p exec --no-startup-id "rofi-pass"
+
# Gap stuff
hide_edge_borders both
new_window 1pixel
@@ -134,10 +151,9 @@ gaps inner 15
gaps outer 15
# Start helpful programs
-exec --no-startup-id wal -i "$HOME/Pictures/wal/"
-exec --no-startup-id redshift
+exec --no-startup-id wal -s -i "$HOME/Pictures/wal/"
exec --no-startup-id xautolock -time 5 -locker "i3lock -c 000000"
-exec --no-startup-id compton
+exec --no-startup-id picom
exec --no-startup-id tilda
exec --no-startup-id polybar -r main0
exec --no-startup-id polybar -r main1