From 36cd4fcd4f6e9334010f3be3aa35fd58b39c831a Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Wed, 15 Mar 2023 21:40:51 +0100 Subject: [PATCH] =?UTF-8?q?=C3=A4f?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sway/.config/sway/config | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 300c260..295d207 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -5,38 +5,20 @@ # # Read `man 5 sway` for a complete reference. -### Variables -# -# Logo key. Use Mod1 for Alt. set $mod Mod4 -# Home row direction keys, like vim set $left h set $down j set $up k set $right l -# Your preferred terminal emulator 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 -- -### Output configuration -# -# 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 +output * bg /home/leon/Pictures/green_leaves.jpg fill -# autostart exec swayidle -w \ - timeout 300 'swaylock -f -c 000000' \ - timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -c 000000' + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -f -c 000000' exec mako exec libinput-gestures-setup start @@ -245,7 +227,7 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # 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 "Terminus (TTF)" height 20