@ -4,7 +4,8 @@ floating_modifier $mod
# set variables
set $i3exit "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
set $layoutupdate exec --no-startup-id polybar-msg hook i3layout 1
set $layoutupdate exec --no-startup-id pkill -SIGRTMIN+10 i3blocks
set $volumeupdate exec --no-startup-id pkill -SIGRTMIN+11 i3blocks
set $smallwidth 900
set $smallheight 640
set $bigwidth 1500
@ -16,7 +17,7 @@ set $defaultgaps 25
# LOOK & FEEL #
###############
# Set fonts
font pango:xos4 Terminus 14
font pango:mono
# set up gaps
for_window [class="^.*"] border pixel 5
@ -26,7 +27,7 @@ gaps inner $defaultgaps
set_from_resource $bg-color i3wm.color7 #676E7D
set_from_resource $inactive-bg-color i3wm.color0 #2f343f
set_from_resource $text-color i3wm.color7 #f3f4f5
set_from_resource $inactive-text-color i3wm.color7 #676E7D
set_from_resource $inactive-text-color i3wm.color8 #676E7D
set_from_resource $urgent-bg-color i3wm.color1 #E53935
# window colors border background text indicator
@ -44,10 +45,10 @@ hide_edge_borders both
##############
# wokspace names
set $workspace1 "1"
set $workspace2 "2"
set $workspace3 "3"
set $workspace4 "4"
set $workspace1 "1: "
set $workspace2 "2: "
set $workspace3 "3: "
set $workspace4 "4: "
set $workspace5 "5"
set $workspace6 "6"
set $workspace7 "7"
@ -152,7 +153,7 @@ assign [class="Telegram"] $workspace3
for_window [title="^pdfpc - present"] border none floating enable
# status bar
exec_always --no-startup-id polybarlaunch
# exec_always --no-startup-id polybarlaunch
# start dual monitor
exec --no-startup-id displayctrl -r HDMI-2 HDMI-3
@ -162,6 +163,22 @@ exec --no-startup-id $BROWSER
# terminal
exec --no-startup-id i3-msg 'workspace $workspace2; exec $TERMINAL; workspace $workspace1'
bar {
font pango:mono 12
status_command i3blocks
position top
mode dock
modifier None
colors {
background $inactive-bg-color
statusline $bg-color
focused_workspace $inactive-bg-color $inactive-bg-color $text-color
active_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
urgent_workspace $urgent-bg-color $urgent-bg-color $text-color
}
}
######################
# LETTER KEYBINDINGS #
@ -476,9 +493,9 @@ bindsym $mod+Shift+Control+Next exec --no-startup-id dmenushutdown
# MEDIA KEYBINDINGS #
#####################
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 5%-
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 5%-; $volumeupdate
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+; $volumeupdate
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle; $volumeupdate
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute $(pacmd list-sources|awk '/\* index:/{ print $3 }') toggle
bindsym XF86AudioPause exec --no-startup-id echo "cycle pause" > $HOME/.config/mpv/control