|
@@ -12,6 +12,28 @@ set $firefox firefox --new-window
|
|
set $surf surf
|
|
set $surf surf
|
|
set $term alacritty
|
|
set $term alacritty
|
|
|
|
|
|
|
|
+# Power Profiles menu switcher (rofi)
|
|
|
|
+bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles
|
|
|
|
+
|
|
|
|
+# Define names for default workspaces for which we configure key bindings later on.
|
|
|
|
+# We use variables to avoid repeating the names in multiple places.
|
|
|
|
+set $ws1 "1:"
|
|
|
|
+set $ws2 "2:"
|
|
|
|
+set $ws3 "3:"
|
|
|
|
+set $ws4 "4:"
|
|
|
|
+set $ws5 "5:"
|
|
|
|
+set $ws6 "6"
|
|
|
|
+set $ws7 "7"
|
|
|
|
+set $ws8 "8"
|
|
|
|
+set $ws9 "9"
|
|
|
|
+set $ws10 "10"
|
|
|
|
+
|
|
|
|
+#get auth work with polkit-gnome
|
|
|
|
+exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
|
|
+
|
|
|
|
+# set powersavings for display:
|
|
|
|
+exec --no-startup-id xset s 480 dpms 600 600 600
|
|
|
|
+
|
|
# DIR VARIABLES
|
|
# DIR VARIABLES
|
|
set $bin ~/bin
|
|
set $bin ~/bin
|
|
|
|
|
|
@@ -33,33 +55,82 @@ hide_edge_borders vertical
|
|
#for_window [class="Emacs"] border pixel $thick
|
|
#for_window [class="Emacs"] border pixel $thick
|
|
for_window [class="st"] border pixel $thick
|
|
for_window [class="st"] border pixel $thick
|
|
|
|
|
|
-# FLOATING APPLICATIONS
|
|
|
|
-#for_window [class="Orca"] floating enable
|
|
|
|
-for_window [class="Foliate"] floating enable
|
|
|
|
-for_window [class="Foliate"] floating_maximum_size 400 x 800
|
|
|
|
|
|
|
|
#for_window [class="Surf"] floating enable
|
|
#for_window [class="Surf"] floating enable
|
|
#for_window [class="Surf"] floating_maximum_size 800 x 550
|
|
#for_window [class="Surf"] floating_maximum_size 800 x 550
|
|
|
|
|
|
# GAP VARIABLES
|
|
# GAP VARIABLES
|
|
-set $inner 7
|
|
|
|
-set $outer 7
|
|
|
|
|
|
+set $inner 6
|
|
|
|
+set $outer 3
|
|
|
|
|
|
# SET GAPS
|
|
# SET GAPS
|
|
gaps inner $inner
|
|
gaps inner $inner
|
|
gaps outer $outer
|
|
gaps outer $outer
|
|
|
|
|
|
|
|
+# set floating (nontiling) for apps needing it
|
|
|
|
+for_window [class="Yad" instance="yad"] floating enable
|
|
|
|
+for_window [class="Galculator" instance="galculator"] floating enable
|
|
|
|
+for_window [class="Blueberry.py" instance="blueberry.py"] floating enable
|
|
|
|
+
|
|
|
|
+# set floating (nontiling) for special apps
|
|
|
|
+for_window [class="Xsane" instance="xsane"] floating enable
|
|
|
|
+for_window [class="Pavucontrol" instance="pavucontrol"] floating enable
|
|
|
|
+for_window [class="qt5ct" instance="qt5ct"] floating enable
|
|
|
|
+for_window [class="Blueberry.py" instance="blueberry.py"] floating enable
|
|
|
|
+for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable
|
|
|
|
+for_window [class="Pamac-manager"] floating enable
|
|
|
|
+for_window [window_role="About"] floating enable
|
|
|
|
+for_window [class="Foliate"] floating enable
|
|
|
|
+for_window [class="Foliate"] floating_maximum_size 400 x 800
|
|
|
|
+
|
|
|
|
+# set border of floating window
|
|
|
|
+for_window [class="urxvt"] border pixel 1
|
|
|
|
+
|
|
|
|
+# Define colors variables:
|
|
|
|
+set $darkbluetrans #08052be6
|
|
|
|
+set $darkblue #08052b
|
|
|
|
+set $lightblue #5294e2
|
|
|
|
+set $urgentred #e53935
|
|
|
|
+set $white #ffffff
|
|
|
|
+set $black #000000
|
|
|
|
+set $purple #e345ff
|
|
|
|
+set $darkgrey #383c4a
|
|
|
|
+set $grey #b0b5bd
|
|
|
|
+set $mediumgrey #8b8b8b
|
|
|
|
+set $yellowbrown #e1b700
|
|
|
|
+
|
|
|
|
+#class border bground text indicator child_border
|
|
|
|
+client.focused $lightblue $darkblue $white $purple $mediumgrey
|
|
|
|
+client.unfocused $darkblue $darkblue $grey $purple $darkgrey
|
|
|
|
+client.focused_inactive $darkblue $darkblue $grey $purple $black
|
|
|
|
+client.urgent $urgentred $urgentred $white $purple $yellowbrown
|
|
|
|
|
|
-# START POLYBAR
|
|
|
|
-#exec_always --no-startup-id ~/.config/polybar/launch.sh
|
|
|
|
bar {
|
|
bar {
|
|
- position bottom
|
|
|
|
- position top
|
|
|
|
- status_command i3status -c ~/.config/i3status/i3status.conf
|
|
|
|
- colors {
|
|
|
|
- statusline #deedee
|
|
|
|
- separator #777777
|
|
|
|
- }
|
|
|
|
|
|
+ font pango: Noto Sans Regular 10
|
|
|
|
+ status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
|
|
|
+ position top
|
|
|
|
+# i3bar_command i3bar --transparency
|
|
|
|
+# it could be that you have no primary display set: set one (xrandr --output <output> --primary)
|
|
|
|
+# reference: https://i3wm.org/docs/userguide.html#_tray_output
|
|
|
|
+ tray_output primary
|
|
|
|
+ tray_padding 0
|
|
|
|
+
|
|
|
|
+# When strip_workspace_numbers is set to yes,
|
|
|
|
+# any workspace that has a name of the form
|
|
|
|
+# “[n][:][NAME]” will display only the name.
|
|
|
|
+strip_workspace_numbers yes
|
|
|
|
+##strip_workspace_name no
|
|
|
|
+
|
|
|
|
+ colors {
|
|
|
|
+ separator $purple
|
|
|
|
+ background $darkgrey
|
|
|
|
+ statusline $white
|
|
|
|
+# border bg txt indicator
|
|
|
|
+ focused_workspace $mediumgrey $grey $darkgrey $purple
|
|
|
|
+ active_workspace $lightblue $mediumgrey $darkgrey $purple
|
|
|
|
+ inactive_workspace $darkgrey $darkgrey $grey $purple
|
|
|
|
+ urgent_workspace $urgentred $urgentred $white $purple
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
# CUSTOM BINDINGS
|
|
# CUSTOM BINDINGS
|
|
@@ -153,8 +224,12 @@ bindsym $mod+c $center
|
|
# DISPLAYS
|
|
# DISPLAYS
|
|
bindsym $mod+F1 exec ~/.screenlayout/titan-one.sh
|
|
bindsym $mod+F1 exec ~/.screenlayout/titan-one.sh
|
|
bindsym $mod+F2 exec ~/.screenlayout/titan-two.sh
|
|
bindsym $mod+F2 exec ~/.screenlayout/titan-two.sh
|
|
-bindsym $mod+F3 exec ~/.screenlayout/titan-three.sh
|
|
|
|
-bindsym $mod+F4 exec ~/.screenlayout/titan-three-vert.sh
|
|
|
|
|
|
+
|
|
|
|
+# bind program to workspace and focus to them on startup:
|
|
|
|
+assign [class="Alacritty"] $ws1
|
|
|
|
+assign [class="(?i)firefox"] $ws2
|
|
|
|
+assign [class="Thunar"] $ws3
|
|
|
|
+assign [class="qutebrowser"] $ws4
|
|
|
|
|
|
##### WORKSPACES ##################################
|
|
##### WORKSPACES ##################################
|
|
|
|
|
|
@@ -272,7 +347,6 @@ bindsym F6 exec ~/.bin/fade up
|
|
# ROFI
|
|
# ROFI
|
|
bindsym $mod+space exec rofi -show combi -display-window "W"
|
|
bindsym $mod+space exec rofi -show combi -display-window "W"
|
|
bindsym $mod+P exec --no-startup-id ~/.config/rofi/rofi-pass.sh
|
|
bindsym $mod+P exec --no-startup-id ~/.config/rofi/rofi-pass.sh
|
|
-bindsym $mod+Shift+p exec --no-startup-id ~/.config/rofi/rofi-otp.sh
|
|
|
|
bindsym $mod+o exec --no-startup-id ~/.config/rofi/www.sh
|
|
bindsym $mod+o exec --no-startup-id ~/.config/rofi/www.sh
|
|
bindsym $mod+Shift+o exec --no-startup-id ~/.config/rofi/www-incognito.sh
|
|
bindsym $mod+Shift+o exec --no-startup-id ~/.config/rofi/www-incognito.sh
|
|
bindsym $mod+s exec --no-startup-id ~/.config/rofi/web-search.sh
|
|
bindsym $mod+s exec --no-startup-id ~/.config/rofi/web-search.sh
|
|
@@ -325,14 +399,14 @@ bindsym $mod+Ctrl+e exec pkill emacs
|
|
##### LAUNCH ######################################
|
|
##### LAUNCH ######################################
|
|
|
|
|
|
# STARTUP
|
|
# STARTUP
|
|
-exec --no-startup-id unclutter -grab
|
|
|
|
|
|
+exec_always --no-startup-id unclutter -grab
|
|
exec --no-startup-id nm-applet
|
|
exec --no-startup-id nm-applet
|
|
-exec --no-startup-id copyq
|
|
|
|
|
|
+exec_always --no-startup-id copyq
|
|
|
|
|
|
# RELOAD
|
|
# RELOAD
|
|
#exec --no-startup-id picom --config ~/.config/compton/compton.conf
|
|
#exec --no-startup-id picom --config ~/.config/compton/compton.conf
|
|
exec --no-startup-id dunst
|
|
exec --no-startup-id dunst
|
|
-exec --no-startup-id syncthing -no-qute
|
|
|
|
|
|
+exec_always --no-startup-id syncthing
|
|
exec xrdb --merge ~/.Xresoureces
|
|
exec xrdb --merge ~/.Xresoureces
|
|
|
|
|
|
|
|
|
|
@@ -342,28 +416,34 @@ exec_always setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle -optio
|
|
|
|
|
|
## Volume control
|
|
## Volume control
|
|
# Pulse Audio controls
|
|
# Pulse Audio controls
|
|
-bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+
|
|
|
|
-bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%-
|
|
|
|
-bindsym XF86AudioMute exec amixer -D pulse sset Master toggle
|
|
|
|
-bindsym XF86AudioMicMute exec amixer -D pulse sset Capture toggle
|
|
|
|
-bindsym F1 exec pulseaudio-ctl mute
|
|
|
|
-bindsym F2 exec pulseaudio-ctl down
|
|
|
|
-bindsym F3 exec pulseaudio-ctl up
|
|
|
|
-bindsym F4 exec pulseaudio-ctl mute-input
|
|
|
|
|
|
+bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym XF86AudioMute exec amixer -D pulse sset Master toggle && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym XF86AudioMicMute exec amixer -D pulse sset Capture toggle && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym F1 exec amixer -D pulse sset Master toggle && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym F2 exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym F3 exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym F4 exec amixer -D pulse sset Capture toggle && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym $mod+z exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym $mod+x exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
|
|
|
|
+bindsym $mod+a exec amixer -D pulse sset Master toggle && pkill -RTMIN+1 i3blocks
|
|
bindsym $mod+Home exec --no-startup-id cvlc https://stream.unbl.ink/mopidy
|
|
bindsym $mod+Home exec --no-startup-id cvlc https://stream.unbl.ink/mopidy
|
|
bindsym $mod+Shift+Home exec --no-startup-idcvlc https://playerservices.streamtheworld.com/api/livestream-redirect/WMEAFM.mp3
|
|
bindsym $mod+Shift+Home exec --no-startup-idcvlc https://playerservices.streamtheworld.com/api/livestream-redirect/WMEAFM.mp3
|
|
bindsym $mod+End exec pkill vlc
|
|
bindsym $mod+End exec pkill vlc
|
|
|
|
|
|
-bindsym $mod+z exec pulseaudio-ctl down
|
|
|
|
-bindsym $mod+x exec pulseaudio-ctl up
|
|
|
|
-
|
|
|
|
# Iapetus central volume
|
|
# Iapetus central volume
|
|
#@bindsym $mod+. exec ssh iapetus.local down
|
|
#@bindsym $mod+. exec ssh iapetus.local down
|
|
#@bindsym $mod+Shift+. exec ssh iapetus.local up
|
|
#@bindsym $mod+Shift+. exec ssh iapetus.local up
|
|
#@bindsym $mod+Alt+. exec ssh iapetus.local playu
|
|
#@bindsym $mod+Alt+. exec ssh iapetus.local playu
|
|
#@bindsym $mod+Ctrl+. exec ssh iapetus.local "pkill vlc"
|
|
#@bindsym $mod+Ctrl+. exec ssh iapetus.local "pkill vlc"
|
|
|
|
|
|
-#bindsym XF86AudioRaiseVolume exec mixer vol +5
|
|
|
|
-#bindsym XF86AudioLowerVolume exec mixer vol -5
|
|
|
|
-#bindsym XF86AudioMicMute exec mixer mic toggle
|
|
|
|
|
|
+bindsym $mod+d exec rofi -modi drun -show drun \
|
|
|
|
+ -config ~/.config/rofi/rofidmenu.rasi
|
|
|
|
+
|
|
|
|
+#bindsym F9 exec rofi -modi drun -show drun \
|
|
|
|
+# -config ~/.config/rofi/rofidmenu.rasi
|
|
|
|
+
|
|
|
|
+## rofi bindings for window menu ($mod+t /F10 optional disabled)
|
|
|
|
|
|
|
|
+bindsym $mod+t exec rofi -show window \
|
|
|
|
+ -config ~/.config/rofi/rofidmenu.rasi
|