aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-12 10:58:51 -0300
committerEuAndreh <eu@euandre.org>2022-05-12 10:58:51 -0300
commitb9d1cc3f8c43cd7f53631c3f43e5f887967be6ae (patch)
tree0b17e4a45b88e2d95cf7e402d3f4a2b6458f24f3
parentmv ~/Maildir/.notmuch/hooks/ ~/.usr/etc/notmuch/default/ (diff)
downloaddotfiles-b9d1cc3f8c43cd7f53631c3f43e5f887967be6ae.tar.gz
dotfiles-b9d1cc3f8c43cd7f53631c3f43e5f887967be6ae.tar.xz
.usr/etc/i3/config: WIP setup extra bindings
-rw-r--r--.usr/etc/i3/config33
1 files changed, 31 insertions, 2 deletions
diff --git a/.usr/etc/i3/config b/.usr/etc/i3/config
index 7392d64..0b41311 100644
--- a/.usr/etc/i3/config
+++ b/.usr/etc/i3/config
@@ -21,6 +21,9 @@ 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.
exec --no-startup-id nm-applet
+exec --no-startup-id blueman-applet
+exec --no-startup-id poweralertd
+exec dunst
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
@@ -28,7 +31,20 @@ bindsym F1 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $re
bindsym F2 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym F3 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
-bindsym F5 exec --no-startup-id playerctl play-pause && $refresh_i3status
+bindsym F4 exec --no-startup-id playerctl --player=`cat ~/.cache/euandreh-mpris-player.txt` position 5-
+bindsym Shift+F4 exec --no-startup-id playerctl --player=`cat ~/.cache/euandreh-mpris-player.txt` previous
+bindsym F5 exec --no-startup-id playerctl --player=`cat ~/.cache/euandreh-mpris-player.txt` play-pause
+Bindsym Shift+F5 exec --no-startup-id ~/dev/libre/dotfiles/xmonad/scripts/rotate-mpris-player.sh
+bindsym F6 exec --no-startup-id playerctl --player=`cat ~/.cache/euandreh-mpris-player.txt` position 5+
+bindsym Shift+F6 exec --no-startup-id playerctl --player=`cat ~/.cache/euandreh-mpris-player.txt` next
+
+# FIXME bad path
+bindsym F7 exec --no-startup-id ~/.local/bin/brightness -1
+bindsym F8 exec --no-startup-id ~/.local/bin/brightness +1
+
+
+
+bindsym $mod+Shift+s exec --no-startup-id ~/dev/libre/dotfiles/xmonad/scripts/toggle-pulseaudio-sink.sh && $refresh_i3status
# Use Mouse+$mod to drag floating windows to their wanted position
@@ -38,6 +54,18 @@ bindsym $mod+Return exec st
bindsym $mod+Shift+q kill
bindsym $mod+p exec --no-startup-id dmenu_run
+
+
+
+# FIXME: better placement of these files
+bindsym $mod+o exec --no-startup-id ~/dev/libre/dotfiles/xmonad/scripts/dmenu-emoji.sh
+bindsym $mod+v exec --no-startup-id ~/dev/libre/dotfiles/xmonad/scripts/dmenu-clipmenu.sh
+bindsym $mod+i exec --no-startup-id ~/dev/libre/dotfiles/xmonad/scripts/dmenu-pass.sh
+bindsym $mod+Control+i exec --no-startup-id ~/dev/libre/dotfiles/xmonad/scripts/dmenu-pass-login.sh
+
+
+
+
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
@@ -53,7 +81,8 @@ bindsym $mod+Shift+l move right
# bindsym $mod+h split h # what is this?
# split in vertical orientation
-bindsym $mod+v split v
+# FIXME: what is this? It was in conflict with dmenu-clipmenu
+# bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle