From f7c2f7d8c92a3117b5c1a0d97dfd48af6c3bedef Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Tue, 11 Apr 2023 15:42:44 +0200 Subject: [PATCH] Updates --- qtile/config.py | 27 +++++++++++++++------------ scripts/wallpaper.sh | 2 +- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/qtile/config.py b/qtile/config.py index 80d4739..2ceddd4 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -190,12 +190,7 @@ layouts = [ # layout.TreeTab(), # layout.VerticalTile(), # layout.Zoomy(), - layout.Floating( - border_width=3, - single_border_width=3, - border_focus=ColorC, - border_normal="#FFFFFF", - ) + layout.Floating() ] # -------------------------------------------------------- @@ -304,7 +299,7 @@ else: ] # -------------------------------------------------------- -# Drag floating layouts. +# Drag floating layouts # -------------------------------------------------------- mouse = [ @@ -314,14 +309,13 @@ mouse = [ ] # -------------------------------------------------------- -# General Setup +# Define floating layouts # -------------------------------------------------------- -dgroups_app_rules = [] # type: list -follow_mouse_focus = True -bring_front_click = False -cursor_warp = False floating_layout = layout.Floating( + border_width=3, + border_focus=ColorC, + border_normal="FFFFFF", float_rules=[ # Run the utility of `xprop` to see the wm class and name of an X client. *layout.Floating.default_float_rules, @@ -333,6 +327,15 @@ floating_layout = layout.Floating( Match(title="pinentry"), # GPG key password entry ] ) + +# -------------------------------------------------------- +# General Setup +# -------------------------------------------------------- + +dgroups_app_rules = [] # type: list +follow_mouse_focus = True +bring_front_click = False +cursor_warp = False auto_fullscreen = True focus_on_window_activation = "smart" reconfigure_screens = True diff --git a/scripts/wallpaper.sh b/scripts/wallpaper.sh index 188ae32..8f0c6c0 100755 --- a/scripts/wallpaper.sh +++ b/scripts/wallpaper.sh @@ -10,7 +10,7 @@ # ----------------------------------------------------- # Select wallpaper -selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -p "Select the wallpaper") +selected=$(ls -1 ~/wallpaper | grep "jpg" | rofi -dmenu -p "Wallpapers") if [ "$selected" ]; then