working swaylock, idle next
This commit is contained in:
parent
e9732fe697
commit
c5a18cfe35
@ -1,4 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Dependancies:
|
||||||
|
# imagemagick
|
||||||
|
# swaylock
|
||||||
|
# grim
|
||||||
|
#
|
||||||
|
# inspired by: https://gist.github.com/singulared/7c6d53c1b84fbb7cf22d07c5c7d3e945
|
||||||
|
|
||||||
LOCK=~/.config/sway/lock.png
|
LOCK=~/.config/sway/lock.png
|
||||||
|
|
||||||
|
@ -19,11 +19,6 @@ default_border none
|
|||||||
gaps inner 10
|
gaps inner 10
|
||||||
smart_gaps on
|
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
|
# setup screens
|
||||||
exec_always --no-startup-id kanshi
|
exec_always --no-startup-id kanshi
|
||||||
|
|
||||||
@ -31,17 +26,6 @@ workspace 1 output DP-2
|
|||||||
workspace 2 output DP-3
|
workspace 2 output DP-3
|
||||||
# exec --no-startup-id dex --autostart --environment i3
|
# 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
|
# loading layout
|
||||||
assign [class="st-256color"] 1
|
assign [class="st-256color"] 1
|
||||||
assign [class="Brave-browser"] 2
|
assign [class="Brave-browser"] 2
|
||||||
@ -63,7 +47,7 @@ floating_modifier $mod
|
|||||||
bindsym $mod+Return exec st
|
bindsym $mod+Return exec st
|
||||||
|
|
||||||
# lock the screen
|
# lock the screen
|
||||||
bindsym $mod+q exec swaylock
|
bindsym $mod+q exec swaylock-blur
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
- link:
|
- link:
|
||||||
~/.config/sway: gui/sway
|
~/.config/sway: gui/sway
|
||||||
|
~/.local/bin/swaylock-blur: bin/swaylock-blur
|
||||||
|
Loading…
x
Reference in New Issue
Block a user