]> www.git.dmfe.net Git - dotfiles/commitdiff
Rework i3 config.
authorDmitry Fedotov <dm.fe@yandex.ru>
Tue, 9 Mar 2021 22:58:02 +0000 (01:58 +0300)
committerDmitry Fedotov <dm.fe@yandex.ru>
Tue, 9 Mar 2021 22:58:02 +0000 (01:58 +0300)
config/i3/config

index 81a91f1fd3ce4b90f90e46e25deac35daf11aa23..1048df034a0b1b8bb331ded5fa3fbbd12b8464dd 100644 (file)
@@ -11,7 +11,6 @@
 
 # Custom variables
 set $scripts_dir ~/scripts
-
 set $mod Mod4
 
 # Font for window titles. Will also be used by the bar unless a different font
@@ -104,7 +103,7 @@ set $ws2 "2"
 set $ws3 "3"
 set $ws4 "4"
 set $ws5 "5"
-set $ws6 "6"
+set $ws6 "6 "
 set $ws7 "7 "
 set $ws8 "8 "
 set $ws9 "9 "
@@ -203,10 +202,10 @@ set_from_resource   $text-color             text_color
 set_from_resource   $inactive-text-color    inactive_text
 set_from_resource   $urgent-bg-color        urgent_bg
 
-client.focused          $bg-color           $bg-color          $text-color          $urgent-bg-color
-client.unfocused        $inactive-bg-color  $inactive-bg-color $inactive-text-color $urgent-bg-color
-client.focused_inactive $inactive-bg-color  $inactive-bg-color $inactive-text-color $urgent-bg-color
-client.urgent           $urgent-bg-color    $urgent-bg-color   $text-color          $urgent-bg-color
+client.focused          $bg-color           $bar-ws-focus-color $text-color          $urgent-bg-color
+client.unfocused        $inactive-bg-color  $inactive-bg-color  $inactive-text-color $urgent-bg-color
+client.focused_inactive $inactive-bg-color  $inactive-bg-color  $inactive-text-color $urgent-bg-color
+client.urgent           $urgent-bg-color    $urgent-bg-color    $text-color          $urgent-bg-color
 
 # Pulse Audio controls
 bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% #increase sound volume
@@ -219,16 +218,15 @@ bindsym XF86AudioPause exec playerctl pause
 bindsym XF86AudioNext exec playerctl next
 bindsym XF86AudioPrev exec playerctl previous
 
-# exec steam
+# Workspaces mappings
+assign [class= "Thunderbird"] $ws6
 assign [class= "Steam"] $ws7
-
-# Some sturtup
 assign [class= "Firefox"] $ws10
-
-#exec skypeforlinux
 assign [class= "Skype"] $ws8
-
-#exec telegram-desktop
 assign [class= "TelegramDesktop"] $ws9
 
 exec $scripts_dir/wallpaper.sh 20
+
+# for developing purposes...
+for_window [class="SFML works!"] floating enable border normal
+for_window [class="Minusculo"] floating enable border normal