From 4248240e5539099dcaf2746792b72ef0b25b23c3 Mon Sep 17 00:00:00 2001 From: Kaan Genc Date: Mon, 7 Mar 2022 21:21:23 -0500 Subject: [PATCH] remove fractional scaling --- kitty/kitty.conf | 2 +- sway/config | 21 +++------------------ waybar/style.css | 15 ++++++++++----- 3 files changed, 14 insertions(+), 24 deletions(-) diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 10dbd50..efc606a 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -24,7 +24,7 @@ bold_italic_font auto #: italic_font Operator Mono Book Italic #: bold_italic_font Operator Mono Medium Italic -font_size 11.0 +font_size 16.0 #: Font size (in pts) diff --git a/sway/config b/sway/config index c1a9c8f..2fa46b2 100644 --- a/sway/config +++ b/sway/config @@ -25,24 +25,9 @@ set $menu j4-dmenu-desktop --dmenu='env BEMENU_BACKEND=wayland bemenu --line-hei ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill - -output DP-1 { - resolution 2560x1440@74.971Hz - position 0,0 - bg /home/kaan/Pictures/Wallpapers/left.jpg fill -} -output DP-2 { - resolution 2560x1440@144.006Hz - position 2560,0 - adaptive_sync on - bg /home/kaan/Pictures/Wallpapers/middle.jpg fill -} -output DP-3 { - resolution 2560x1440@144.006Hz - position 5120,0 - adaptive_sync on - bg /home/kaan/Pictures/Wallpapers/right.jpg fill +output * bg /home/kaan/Pictures/Wallpapers/Sway-no-text.png fill +output "eDP-1" { + scale 1 } # Enable XWayland diff --git a/waybar/style.css b/waybar/style.css index 2600b91..cb61638 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,7 +1,7 @@ * { /* `otf-font-awesome` is required to be installed for icons */ font-family: FontAwesome, Fira Code; - font-size: 13px; + font-size: 20px; color: rgba(255, 255, 255, 0.8); } @@ -36,7 +36,7 @@ window#waybar.chromium { } */ #workspaces button { - padding: 0 5px; + padding: 0 0.5rem; background-color: #D6882D; color: rgba(0,0,0,0.8); /* Use box-shadow instead of border so the text isn't offset */ @@ -89,7 +89,7 @@ window#waybar.chromium { #mode, #idle_inhibitor, #mpd { - padding: 0 10px; + padding: 0 0.5rem; } #window, @@ -97,6 +97,11 @@ window#waybar.chromium { margin: 0 4px; } +.modules-left > *, .modules-right > * { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #workspaces { margin-left: 0; @@ -199,7 +204,7 @@ label:focus { } #keyboard-state > label { - padding: 0 5px; + padding: 0 0.5rem; } #keyboard-state > label.locked { @@ -217,7 +222,7 @@ label:focus { } #language { background: #9B551E; - padding: 0 5px; + padding: 0 0.5rem; min-width: 16px; } #temperature {