summaryrefslogtreecommitdiff
path: root/i3wm.conf
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-05-19 22:07:39 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-05-19 22:07:39 +0200
commit481e960f7da5e37eec55d29587b69f3960537ff5 (patch)
tree1df9b2e0cb3c10a8b325b030c9d30abf9ab6ad46 /i3wm.conf
parenta0089cb4a117930f3b9c36bcbbd6be8cf3747ff8 (diff)
downloaddotfiles-481e960f7da5e37eec55d29587b69f3960537ff5.tar.gz
dotfiles-481e960f7da5e37eec55d29587b69f3960537ff5.zip
update i3blocks & i3wm
Diffstat (limited to 'i3wm.conf')
-rw-r--r--i3wm.conf40
1 files changed, 27 insertions, 13 deletions
diff --git a/i3wm.conf b/i3wm.conf
index 3e0549d..f8e6ea2 100644
--- a/i3wm.conf
+++ b/i3wm.conf
@@ -10,9 +10,11 @@
# super key
set $mod Mod4
-set $my_font xos4 Terminus
+#set $my_font xos4 Terminus
+#set $my_font Noto Sans Mono
+set $my_font Font Awesome 5 Brands Regular
-font pango:$my_font 12
+font pango:$my_font 10
# $mod+mouse to move/rezie window in floating mode
floating_modifier $mod
@@ -26,8 +28,13 @@ bindsym $mod+Shift+s reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -f '$my_font' -t warning -m 'Kill X-Sessions' -b 'Kill!' 'i3-msg exit'"
bindsym $mod+Return exec i3-sensible-terminal
-bindsym $mod+d exec "dmenu_run -b -l 15 -nf '#bbbbbb' -nb '#222222' -sb '#ff8700' -sf '#ffffff' -fn '$my_font' -p '>_'"
-bindsym $mod+p exec "passmenu -b -l 15 -nf '#bbbbbb' -nb '#222222' -sb '#ff8700' -sf '#ffffff' -fn '$my_font' -p '>_'"
+# demnu
+#bindsym $mod+d exec "dmenu_run -b -l 15 -nf '#bbbbbb' -nb '#222222' -sb '#ff8700' -sf '#ffffff' -fn '$my_font' -p '>_'"
+#bindsym $mod+p exec "passmenu -b -l 15 -nf '#bbbbbb' -nb '#222222' -sb '#ff8700' -sf '#ffffff' -fn '$my_font' -p '>_'"
+# rofi
+bindsym $mod+d exec "rofi -show drun"
+bindsym $mod+p exec "rofi -show pass"
+bindsym $mod+Tab exec "rofi -show window"
#
# Layout Key Bindings
@@ -96,7 +103,7 @@ bindsym $mod+Shift+0 move container to workspace 10
#
# arrow f047
-set $resize_mode 
+set $resize_mode (r)
bindsym $mod+r mode $resize_mode
# bindings for resize mode
@@ -142,7 +149,7 @@ bindsym $mod+Control+l exec $lock_cmd
# lock f023
# moon f186
set $power_mode  (l)  (s)
-bindsym $mod+Pause mode "$power_mode"
+bindsym $mod+Home mode "$power_mode"
mode "$power_mode" {
bindsym l exec $lock_cmd, mode "default"
@@ -188,11 +195,11 @@ client.background $col_x_whi
#
bar {
- font pango: $my_font, Noto Color Emoji 10, FontAwesome 10
+ font pango: $my_font 10
position top
height 22
- status_command i3blocks -c ~/.i3/i3blocks.conf
- #status_command i3status --config ~/.i3/i3status.conf
+ status_command i3blocks -c ~/.config/i3/i3blocks.conf
+ #status_command i3status --config ~/.config/i3/i3status.conf
colors {
background $col_x_bla
@@ -209,13 +216,20 @@ bar {
}
#
-# Thinkpad T410 Volume Keys
+# Function Keys
#
-bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+"
-bindsym XF86AudioLowerVolume exec "amixer set Master 5%-"
-bindsym XF86AudioMute exec "amixer set Master toggle"
+# Alsamixer controls
+# bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+"
+# bindsym XF86AudioLowerVolume exec "amixer set Master 5%-"
+# bindsym XF86AudioMute exec "amixer set Master toggle"
+# Pulse Audio controls
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
+bindsym XF86MonBrightnessUp exec "xbacklight -inc 10"
+bindsym XF86MonBrightnessDown exec "xbacklight -dec 10"
# PLAYGROUND