working swaylock, idle next

This commit is contained in:
spinach 2023-12-04 22:29:10 -05:00
parent e9732fe697
commit c5a18cfe35
3 changed files with 10 additions and 17 deletions

View File

@ -1,4 +1,12 @@
#!/usr/bin/env bash
#
#
# Dependancies:
# imagemagick
# swaylock
# grim
#
# inspired by: https://gist.github.com/singulared/7c6d53c1b84fbb7cf22d07c5c7d3e945
LOCK=~/.config/sway/lock.png

View File

@ -19,11 +19,6 @@ default_border none
gaps inner 10
smart_gaps on
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
# setup screens
exec_always --no-startup-id kanshi
@ -31,17 +26,6 @@ workspace 1 output DP-2
workspace 2 output DP-3
# exec --no-startup-id dex --autostart --environment i3
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-blur --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
#exec --no-startup-id nm-applet
# loading layout
assign [class="st-256color"] 1
assign [class="Brave-browser"] 2
@ -63,7 +47,7 @@ floating_modifier $mod
bindsym $mod+Return exec st
# lock the screen
bindsym $mod+q exec swaylock
bindsym $mod+q exec swaylock-blur
# kill focused window
bindsym $mod+Shift+q kill

View File

@ -1,2 +1,3 @@
- link:
~/.config/sway: gui/sway
~/.local/bin/swaylock-blur: bin/swaylock-blur