mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
fixed command for locking the screen
This commit is contained in:
@@ -28,7 +28,7 @@ exec --no-startup-id dex --autostart --environment i3
|
||||
|
||||
# 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 --nofork --show-failed-attempts --color 000000
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-fancy --nofork --font Noto-Sans-Regular --text "Welcome, Amin NAIRI"
|
||||
|
||||
# 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.
|
||||
@@ -191,7 +191,7 @@ mode "resize" {
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Lock the screen when hitting the Super+x keybind
|
||||
bindsym $mod+x exec i3lock --nofork --color 000000 --show-failed-attempts
|
||||
bindsym $mod+x exec i3lock-fancy --nofork --font 'Noto-Sans-Regular' --text "Welcome Amin NAIRI"
|
||||
|
||||
# Use Flameshot when hitting the Super+p keybind
|
||||
bindsym $mod+p exec flameshot gui
|
||||
|
||||
+6
-5
@@ -3,6 +3,12 @@
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Install i3lock-fancy (window locker)
|
||||
become: true
|
||||
kewlfft.aur.aur:
|
||||
name: i3lock-fancy
|
||||
state: present
|
||||
update_cache: yes
|
||||
- name: Install Playerctl (utility for controlling media playing on the device)
|
||||
become: true
|
||||
pacman:
|
||||
@@ -165,11 +171,6 @@
|
||||
pacman:
|
||||
name: i3-gaps
|
||||
state: present
|
||||
- name: Install i3 Lock (window locker)
|
||||
become: true
|
||||
pacman:
|
||||
name: i3lock
|
||||
state: present
|
||||
- name: Install dmenu
|
||||
become: true
|
||||
pacman:
|
||||
|
||||
Reference in New Issue
Block a user