Change cursor to Bibata, fix idle-inhibit logic, add floating_shell window rule

This commit is contained in:
Aleksey Samoilov 2024-07-21 13:27:14 +04:00
parent 26bd6fc9d0
commit 6e2c43726d
8 changed files with 28 additions and 12 deletions

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
tileos-settings-qtile (1.1.1~tileos) unstable; urgency=medium
* Change cursor theme to Bibata
* Fix idle-inhibit logic
* Added floating_shell window rule
-- Aleksey Samoilov <samoilov.lex@gmail.com> Sun, 21 Jul 2024 13:21:06 +0400
tileos-settings-qtile (1.1.0~tileos) unstable; urgency=medium
* First working configuration

View file

@ -0,0 +1,7 @@
[Desktop Entry]
Exec=xdg-user-dirs-update
NoDisplay=true
StartupNotify=false
Terminal=false
TryExec=xdg-user-dirs-update
Type=Application

View file

@ -2,7 +2,7 @@
gtk-theme-name=Catppuccin-Macchiato-Standard-Blue-Dark
gtk-icon-theme-name=ePapirus-Dark
gtk-font-name=Noto Sans 11
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-name=Bibata-Modern-Classic
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View file

@ -217,7 +217,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lazy.spawn(terminal + ' -e btop')}
mouse_callbacks={'Button1': lazy.spawn(terminal + ' --class floating_shell -e btop')}
),
widget.Spacer(length = 8),
widget.Memory(
@ -230,7 +230,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lazy.spawn(terminal + ' -e btop')}
mouse_callbacks={'Button1': lazy.spawn(terminal + ' --class floating_shell -e btop')}
),
widget.Spacer(length = 8),
widget.Net(
@ -243,7 +243,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lazy.spawn(terminal + ' -e nmtui')}
mouse_callbacks={'Button1': lazy.spawn(terminal + ' --class floating_shell -e nmtui')}
),
widget.Spacer(length = 8),
widget.Volume(
@ -267,7 +267,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lazy.spawn(terminal + ' -e calcurse')}
mouse_callbacks={'Button1': lazy.spawn(terminal + ' --class floating_shell -e calcurse')}
),
widget.Spacer(length = 8),
widget.TextBox(
@ -315,6 +315,7 @@ floating_layout = layout.Floating(
Match(wm_class="nwg-look"), # GTK settings
Match(wm_class="pavucontrol"), # PulseAudio Volume Control
Match(wm_class="wdisplays"), # Display configurator
Match(wl_class="floating_shell"), # Start all windows with app_id "floating_shell" in float
Match(title="Picture-in-Picture"),
Match(title="Firefox — Sharing Indicator"),
]

View file

@ -1,6 +1,6 @@
Net/ThemeName "Catppuccin-Macchiato-Standard-Blue-Dark"
Net/IconThemeName "ePapirus-Dark"
Gtk/CursorThemeName "breeze_cursors"
Gtk/CursorThemeName "Bibata-Modern-Classic"
Net/EnableEventSounds 1
EnableInputFeedbackSounds 0
Xft/Antialias 1

View file

@ -5,7 +5,7 @@ include "/home/sunderland93/.gtkrc-2.0.mine"
gtk-theme-name="Catppuccin-Macchiato-Standard-Blue-Dark"
gtk-icon-theme-name="ePapirus-Dark"
gtk-font-name="Noto Sans 11"
gtk-cursor-theme-name="breeze_cursors"
gtk-cursor-theme-name="Bibata-Modern-Classic"
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View file

@ -2,4 +2,4 @@
[Icon Theme]
Name=Default
Comment=Default Cursor Theme
Inherits=Catppuccin-Macchiato-Blue-Cursors
Inherits=Bibata-Modern-Classic

View file

@ -5,10 +5,10 @@ function toggle {
if pgrep -f "wayland-idle-inhibitor" > /dev/null
then
pkill -f wayland-idle-inhibitor
notify-send -r 5556 -u normal " Screensaver Disabled"
notify-send -r 5556 -u normal " Screensaver Enabled"
else
/usr/bin/wayland-idle-inhibitor.py &
notify-send -r 5556 -u normal " Screensaver Enabled"
notify-send -r 5556 -u normal " Screensaver Disabled"
fi
}
@ -19,9 +19,9 @@ case $1 in
*)
if pgrep -f "wayland-idle-inhibitor" > /dev/null
then
icon=""
else
icon=""
else
icon=""
fi
printf "%s" "$icon"
;;