This commit is contained in:
elkowar 2023-03-15 21:40:51 +01:00
parent 56ce9b7270
commit 36cd4fcd4f
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -5,34 +5,16 @@
# #
# Read `man 5 sway` for a complete reference. # Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
# Home row direction keys, like vim
set $left h set $left h
set $down j set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator
set $term foot set $term foot
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu dmenu_path | dmenu | xargs swaymsg exec --
### Output configuration output * bg /home/leon/Pictures/green_leaves.jpg fill
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#output * bg /home/leon/Pictures/wallpapers/0126.jpg fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
# autostart
exec swayidle -w \ exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \ timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
@ -245,7 +227,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates. # When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time. # The default just shows the current date and time.
status_command while echo "$(/home/leon/scripts/battery_indicator.sh) // $(date +'%Y-%m-%d %l:%M:%S %p')"; do sleep 1; done status_command while echo "$(/home/leon/scripts/battery_indicator.sh) // $(date +'%Y-%m-%d - %H:%M:%S %p')"; do sleep 1; done
font "cozette 8" font "cozette 8"
#font "Terminus (TTF)" #font "Terminus (TTF)"
height 20 height 20