mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 16:52:12 +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
|
# 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.
|
# 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,
|
# 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.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
@@ -191,7 +191,7 @@ mode "resize" {
|
|||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# Lock the screen when hitting the Super+x keybind
|
# 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
|
# Use Flameshot when hitting the Super+p keybind
|
||||||
bindsym $mod+p exec flameshot gui
|
bindsym $mod+p exec flameshot gui
|
||||||
|
|||||||
+6
-5
@@ -3,6 +3,12 @@
|
|||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
tasks:
|
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)
|
- name: Install Playerctl (utility for controlling media playing on the device)
|
||||||
become: true
|
become: true
|
||||||
pacman:
|
pacman:
|
||||||
@@ -165,11 +171,6 @@
|
|||||||
pacman:
|
pacman:
|
||||||
name: i3-gaps
|
name: i3-gaps
|
||||||
state: present
|
state: present
|
||||||
- name: Install i3 Lock (window locker)
|
|
||||||
become: true
|
|
||||||
pacman:
|
|
||||||
name: i3lock
|
|
||||||
state: present
|
|
||||||
- name: Install dmenu
|
- name: Install dmenu
|
||||||
become: true
|
become: true
|
||||||
pacman:
|
pacman:
|
||||||
|
|||||||
Reference in New Issue
Block a user