From 036066637b3ed6fc002e6405b6698320f5aa5ab8 Mon Sep 17 00:00:00 2001 From: brice Date: Thu, 10 Mar 2022 01:01:43 +0100 Subject: [PATCH] change some stuff --- i3/config | 36 +++++++++++++++++++----------------- i3/i3blocks.conf | 42 +++++++++++++++++++++--------------------- 2 files changed, 40 insertions(+), 38 deletions(-) diff --git a/i3/config b/i3/config index 9b10185..c4c31d1 100644 --- a/i3/config +++ b/i3/config @@ -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 --primary) # reference: https://i3wm.org/docs/userguide.html#_tray_output diff --git a/i3/i3blocks.conf b/i3/i3blocks.conf index c2dd3b6..669d44a 100644 --- a/i3/i3blocks.conf +++ b/i3/i3blocks.conf @@ -40,20 +40,20 @@ separator=false markup=pango -[terminal] -full_text=  -color=#807dfe -command=xfce4-terminal +#[terminal] +#full_text=  +#color=#807dfe +#command=xfce4-terminal -[browser] -full_text=  -color=#ff7f81 -command=firefox +#[browser] +#full_text=  +#color=#ff7f81 +#command=firefox -[files] -full_text=  -color=#7f3fbf -command=thunar ~/ +#[files] +#full_text=  +#color=#7f3fbf +#command=thunar ~/ #[mail] #full_text=  @@ -69,11 +69,11 @@ color=#717171 # The directory defaults to $HOME if the instance is not specified. # The script may be called with a optional argument to set the alert # (defaults to 10 for 10%). -[disk] -label= -instance=/ -command=~/.config/i3/scripts/disk -interval=30 +#[disk] +#label= +#instance=/ +#command=~/.config/i3/scripts/disk +#interval=30 # Memory usage # @@ -89,10 +89,10 @@ interval=30 #min_width=CPU: 100.00% #interval=2 -[CPU-temperature] -label= -command=~/.config/i3/scripts/temperature -interval=30 +#[CPU-temperature] +#label= +#command=~/.config/i3/scripts/temperature +#interval=30 #T_WARN=70 #T_CRIT=90 #SENSOR_CHIP=""