From f0ecbcfebc65093e02ee9c247e92990f2022c086 Mon Sep 17 00:00:00 2001 From: moonleay Date: Sat, 2 Dec 2023 21:41:37 +0100 Subject: [PATCH] added swaylock --- gtk-2.0/gtkfilechooser.ini | 6 ++-- hypr/hyprland.conf | 16 ++++----- hypr/hyprpaper.conf | 7 ++-- swaylock/config | 68 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+), 15 deletions(-) create mode 100644 swaylock/config diff --git a/gtk-2.0/gtkfilechooser.ini b/gtk-2.0/gtkfilechooser.ini index c43c15d..eb4820b 100644 --- a/gtk-2.0/gtkfilechooser.ini +++ b/gtk-2.0/gtkfilechooser.ini @@ -1,9 +1,9 @@ [Filechooser Settings] LocationMode=path-bar -ShowHidden=false +ShowHidden=true ShowSizeColumn=true -GeometryX=1964 -GeometryY=270 +GeometryX=220 +GeometryY=85 GeometryWidth=551 GeometryHeight=562 SortColumn=name diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index f485531..4f23e78 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -27,6 +27,13 @@ exec-once = solaar -w hide #env = XCURSOR_SIZE,24 env = MOZ_ENABLE_WAYLAND,1 env = MOZ_DISABLE_RDD_SANDBOX,1 +env = GDK_BACKEND=wayland,x11 +env = QT_QPA_PLATFORM="wayland;xcb" +env = SDL_VIDEODRIVER=wayland +env = CLUTTER_BACKEND=wayland +env = XDG_CURRENT_DESKTOP=Hyprland +env = XDG_SESSION_TYPE=wayland +env = XDG_SESSION_DESKTOP=Hyprland misc { disable_hyprland_logo = true @@ -117,15 +124,6 @@ gestures { # sensitivity = -0.5 #} -# unscale XWayland -xwayland { - force_zero_scaling = true -} -# - -toolkit-specific scale -env = GDK_SCALE,2 -env = XCURSOR_SIZE,24 # Example windowrule v1 # windowrule = float, ^(kitty)$ diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 736b492..cae52af 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,12 +1,13 @@ -preload = ~/Pictures/Wallpaper/cityx4.png +preload = ~/Pictures/Wallpaper/ProtrudingSquares.png +preload = ~/Pictures/Wallpaper/.hidden/cafex2.png #if more than one preload is desired then continue to preload other backgrounds #preload = /path/to/next_image.png # .. more preloads #set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used -wallpaper = eDP-2,~/Pictures/Wallpaper/cityx4.png -wallpaper = HDMI-A-1,~/Pictures/Wallpaper/cityx4.png +wallpaper = eDP-2,~/Pictures/Wallpaper/.hidden/cafex2.png +wallpaper = HDMI-A-1,~/Pictures/Wallpaper/.hidden/cafex2.png #if more than one monitor in use, can load a 2nd image # .. more monitors diff --git a/swaylock/config b/swaylock/config new file mode 100644 index 0000000..224a3e4 --- /dev/null +++ b/swaylock/config @@ -0,0 +1,68 @@ +ignore-empty-password +font="Fira Sans Semibold" + +clock +timestr=%R +datestr=%a, %e of %B + +# Add current screenshot as wallpaper +screenshots + +# Add an image as a background +# In my setup the current wallpaper (requires wallpaper scripts in /scripts) +# image=~/.cache/current_wallpaper.jpg + +# Fade in time +fade-in=1 + +# Effect for background +# effect-blur=20x6 +# effect-greyscale +effect-pixelate=5 + +# Show/Hide indicator circle +indicator + +# smaller indicator +indicator-radius=100 + +# bigger indicator +# indicator-radius=300 + +indicator-thickness=5 +indicator-caps-lock + +# Define all colors + +key-hl-color=00000066 +separator-color=00000000 + +inside-color=00000033 +inside-clear-color=ffffff00 +inside-caps-lock-color=ffffff00 +inside-ver-color=ffffff00 +inside-wrong-color=ffffff00 + +ring-color=ffffff +ring-clear-color=ffffff +ring-caps-lock-color=ffffff +ring-ver-color=ffffff +ring-wrong-color=ffffff + +line-color=00000000 +line-clear-color=ffffffFF +line-caps-lock-color=ffffffFF +line-ver-color=ffffffFF +line-wrong-color=ffffffFF + +text-color=ffffff +text-clear-color=ffffff +text-ver-color=ffffff +text-wrong-color=ffffff + +bs-hl-color=ffffff +caps-lock-key-hl-color=ffffffFF +caps-lock-bs-hl-color=ffffffFF +disable-caps-lock-text +text-caps-lock-color=ffffff +