mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-20 16:20:43 +02:00
meta: Switch cursor theme from breeze to phinger
Using phinger is slightly cooler since it's not as stock as other cursor themes like breeze.
This commit is contained in:
parent
0473e96ca8
commit
5fa1a0ddb9
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 2018 Donovan Glover
|
||||
|
||||
export SXHKD_SHELL="/usr/bin/bash"
|
||||
export XCURSOR_THEME="breeze_cursors"
|
||||
export XCURSOR_THEME="phinger-cursors"
|
||||
export XDG_DATA_DIRS="/usr/share:/usr/share:/usr/local/share"
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
@ -55,7 +55,7 @@ picom -b
|
||||
# Get the host width
|
||||
HOST_WIDTH=$(bspc query -T -m | jq '.rectangle.width')
|
||||
|
||||
CURSOR_THEME=${XCURSOR_THEME:-breeze_cursors}
|
||||
CURSOR_THEME=${XCURSOR_THEME:-phinger-cursors}
|
||||
|
||||
# If the DPI is not set, set it to 96 by default
|
||||
if [ -z "$(xrdb -query | grep dpi)" ]; then
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Settings]
|
||||
gtk-cursor-theme-name=breeze_cursors
|
||||
gtk-cursor-theme-name=phinger-cursors
|
||||
gtk-decoration-layout=menu:
|
||||
gtk-font-name=Cantarell 11
|
||||
gtk-icon-theme-name=Papirus-Dark
|
||||
|
@ -45,7 +45,7 @@ ROFI_DPI=$(xrdb -query | grep Xft.dpi | cut -f 2)
|
||||
ROFI_SCALE=$(expr $ROFI_DPI / 96)
|
||||
ROFI_DPI_SCALE=$(awk "BEGIN { print "1/$ROFI_SCALE" }")
|
||||
|
||||
CURSOR_THEME=${XCURSOR_THEME:-breeze_cursors}
|
||||
CURSOR_THEME=${XCURSOR_THEME:-phinger-cursors}
|
||||
CURSOR_SIZE=$((16 * $ROFI_SCALE))
|
||||
|
||||
xsetroot -xcf "/usr/share/icons/$CURSOR_THEME/cursors/left_ptr" "$CURSOR_SIZE"
|
||||
|
@ -1,2 +1,2 @@
|
||||
[icon theme]
|
||||
Inherits=breeze_cursors
|
||||
Inherits=phinger-cursors
|
||||
|
Loading…
Reference in New Issue
Block a user