change some stuff

This commit is contained in:
brice
2022-03-10 01:01:43 +01:00
parent 349ec2e906
commit 036066637b
2 changed files with 40 additions and 38 deletions
+19 -17
View File
@@ -49,14 +49,14 @@ workspace_layout default
##############################
#border indicator on windows:
new_window pixel 1
#new_window pixel 1
# thin borders
# hide_edge_borders both
# Set inner/outer gaps
gaps inner 4
gaps outer 2
#gaps inner 4
#gaps outer 2
@@ -292,11 +292,11 @@ bindsym Print exec "scrot ~/%Y-%m-%d-%T-screenshot.png"
# 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 $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
@@ -315,17 +315,15 @@ set $ws10 "10"
# bind program to workspace and focus to them on startup:
assign [class="Xfce4-terminal"] $ws1
assign [class="(?i)firefox"] $ws2
assign [class="Thunar"] $ws3
assign [class="Thunderbird"] $ws4
assign [class="TelegramDesktop"] $ws5
assign [class="(?i)chromium"] $ws3
# automatic set focus new window if it opens on another workspace then the current:
for_window [class=Xfce4-terminal] focus
for_window [class=(?i)firefox] focus
for_window [class=Thunar] focus
for_window [class=Thunderbird] focus
for_window [class=TelegramDesktop] focus
#for_window [class=Xfce4-terminal] focus
#for_window [class=(?i)firefox] focus
#for_window [class=Thunar] focus
#for_window [class=Thunderbird] focus
#for_window [class=TelegramDesktop] focus
#############################################
# autostart applications/services on login: #
@@ -393,6 +391,7 @@ exec --no-startup-id dbus-launch dunst --config ~/.config/dunst/dunstrc
#exec --no-startup-id sleep 3 && thunar
exec --no-startup-id alacritty
exec --no-startup-id firefox
exec --no-startup-id chromium
# set floating (nontiling)for apps needing it
for_window [class="Yad" instance="yad"] floating enable
@@ -407,6 +406,9 @@ 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
# hide titlebars
for_window [class="^.*"] border pixel 1
######################################
# color settings for bar and windows #
######################################
@@ -441,7 +443,7 @@ client.urgent $urgentred $urgentred $white $purple $yellowbrown
bar {
font pango:Noto Sans Regular 10, FontAwesome 10
status_command i3blocks -c ~/.config/i3/i3blocks.conf
position top
position bottom
# 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