feat: remove floating bar, reduce top gap

This commit is contained in:
ineanto 2025-07-01 19:02:05 +02:00
parent 4524badf49
commit 00cef52dcf
Signed by: ineanto
GPG key ID: E511F9CAA2F9CE84
2 changed files with 21 additions and 17 deletions

View file

@ -4,7 +4,7 @@
# ██║██║╚██╗██║██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██║ ██║ ╚═══██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║ # ██║██║╚██╗██║██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██║ ██║ ╚═══██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
# ██║██║ ╚████║███████╗██║ ██║██║ ╚████║ ██║ ╚██████╔╝ ██║██████╔╝ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝ # ██║██║ ╚████║███████╗██║ ██║██║ ╚████║ ██║ ╚██████╔╝ ██║██████╔╝ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
# ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ # ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
# (updated 11/05/2025) # (updated 01/07/2025)
############################################# #############################################
# MODIFIER KEY # # MODIFIER KEY #
@ -17,7 +17,10 @@ set $mod Mod4
############################################# #############################################
# Display setup # Display setup
exec xrandr --auto exec --no-startup-id xrandr --auto
# Transfer X11 lock to i3lock (locks computer before going to sleep)
exec xss-lock --transfer-sleep-lock -- i3lock --nofork
# Polybar # Polybar
exec_always --no-startup-id $HOME/.config/i3/scripts/polybar.sh exec_always --no-startup-id $HOME/.config/i3/scripts/polybar.sh
@ -33,8 +36,8 @@ exec --no-startup-id numlockx on
# networkmanager-applet # networkmanager-applet
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
# set wallpaper # Start Nitrogen
exec --no-startup-id feh --bg-scale /home/ineanto/Pictures/BG/wallpaper.png exec --no-startup-id nitrogen --restore
# set powersavings for display: # set powersavings for display:
exec --no-startup-id xset s 480 dpms 600 600 600 exec --no-startup-id xset s 480 dpms 600 600 600
@ -72,8 +75,8 @@ default_floating_border pixel 0
for_window [class="^.*"] border pixel 1 for_window [class="^.*"] border pixel 1
# Set inner/outer/top gaps # Set inner/outer/top gaps
gaps top 60 gaps top 35
gaps inner 15 gaps inner 20
set $ws1 "1:base" set $ws1 "1:base"
set $ws2 "2:term" set $ws2 "2:term"

View file

@ -4,7 +4,7 @@
; ██║██║╚██╗██║██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██║ ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║ ; ██║██║╚██╗██║██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██║ ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
; ██║██║ ╚████║███████╗██║ ██║██║ ╚████║ ██║ ╚██████╔╝ ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝ ; ██║██║ ╚████║███████╗██║ ██║██║ ╚████║ ██║ ╚██████╔╝ ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
; ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ; ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
; (updated 11/05/2025) ; (updated 01/07/2025)
###################################### ######################################
# SETTINGS # # SETTINGS #
@ -32,24 +32,25 @@ disabled = #707880
###################################### ######################################
[bar/default] [bar/default]
width = 99% width = 100%
height = 4% height = 3%
radius = 0 radius = 0
dpi = 84 dpi = 70
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
border-size = 2px #border-size = 1px
border-color = ${colors.primary} border-color = ${colors.primary}
offset-x = 10px offset-x = 0px
offset-y = 10px offset-y = 0px
padding-left = 10px padding-left = 10px
padding-right = 3px padding-right = 10px
padding-top = 5px
module-margin = 10px module-margin = 5px
separator = "" separator = ""
separator-foreground = ${colors.disabled} separator-foreground = ${colors.disabled}
@ -59,7 +60,7 @@ font-1 = FontAwesome:size=11
modules-left = i3 modules-left = i3
modules-right = memory cpu pulseaudio tray modules-right = memory cpu pulseaudio tray
modules-center = date menu-apps modules-center = date battery menu-apps
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -94,7 +95,7 @@ menu-1-1-exec = chromium
[module/tray] [module/tray]
type = internal/tray type = internal/tray
tray-size = 40% tray-size = 50%
[module/xworkspaces] [module/xworkspaces]
type = internal/xworkspaces type = internal/xworkspaces