From 3eaa426c5c3c2a4d6ed7a9c1d465d4b7c24afa84 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Sun, 13 Jun 2021 15:15:17 +0200 Subject: [PATCH] minor changes --- .config/polybar/config.ini##class.arch_laptop | 6 +++--- .config/polybar/modules.ini##class.arch_laptop | 6 +++--- .xmonad/xmonad.hs | 6 +++--- .xprofile##class.arch_laptop | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.config/polybar/config.ini##class.arch_laptop b/.config/polybar/config.ini##class.arch_laptop index 45730ad..c806958 100644 --- a/.config/polybar/config.ini##class.arch_laptop +++ b/.config/polybar/config.ini##class.arch_laptop @@ -121,8 +121,8 @@ padding = 0 ; Number of spaces to add before/after each module ; Individual side values can be defined using: ; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 +module-margin-left = 0 +module-margin-right = 1 ; Fonts are defined using ; ; Font names are specified using a fontconfig pattern. @@ -135,7 +135,7 @@ module-margin-right = 2 ;;font-0 = "Misc Termsyn:size=12;1" ;;font-1 = "Wuncon Siji:size=12;1" -font-0 = "Ubuntu Condensed:size=23;2" +font-0 = "MesloLGS NF:size=20;2" font-1 = "icomoon\-feather:size=23;2" font-2 = "xos4 Terminus:size=22;1" diff --git a/.config/polybar/modules.ini##class.arch_laptop b/.config/polybar/modules.ini##class.arch_laptop index f0280bd..d54b925 100644 --- a/.config/polybar/modules.ini##class.arch_laptop +++ b/.config/polybar/modules.ini##class.arch_laptop @@ -375,7 +375,7 @@ format-prefix =  ; %percentage-sum% - Cumulative load on all cores ; %percentage-cores% - load percentage for each core ; %percentage-core[1-9]% - load percentage for specific core -label = " %percentage-sum%%" +label = " %percentage-sum:3%%" ; Spacing between individual per-core ramps ;;ramp-coreload-spacing = 1 @@ -653,7 +653,7 @@ format-prefix =  ; %gb_swap_free% ; %gb_swap_used% -label = " RAM: %percentage_used%% %mb_used%, SWAP: %percentage_swap_used%% %mb_swap_used% / %mb_swap_total%" +label = R: %percentage_used%%, S: %percentage_swap_used%% ; Only applies if is used ;;bar-used-indicator = @@ -938,7 +938,7 @@ thermal-zone = 0 ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done ; to find path to desired file ; Default reverts to thermal zone setting -hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon9/temp1_input +hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon6/temp1_input ; Threshold temperature to display warning label (in degrees celsius) ; Default: 80 diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 56dde75..d6d376d 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -174,15 +174,15 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ spawn myLauncher) -- Take a full screenshot using the command specified by myScreenshot. - , ((modMask .|. controlMask, xK_p), + , ((modMask, xK_Print), spawn myScreenshotFull) -- Take a full screenshot using the command specified by myScreenshot. - , ((modMask .|. controlMask .|. shiftMask, xK_p), + , ((modMask .|. controlMask, xK_Print), spawn myScreenshotSelective) -- run autorandr to switch configuration - , ((modMask, xK_Print), + , ((modMask, xK_Home), spawn "autorandr -c") -- Toggle current focus window to fullscreen diff --git a/.xprofile##class.arch_laptop b/.xprofile##class.arch_laptop index b81608f..9cbe515 100644 --- a/.xprofile##class.arch_laptop +++ b/.xprofile##class.arch_laptop @@ -1,5 +1,6 @@ blueman-applet & xbindkeys & +optimus-manager-qt & xrdb -merge ~/.Xresources xrandr --dpi 210 export GDK_SCALE=1.5