small changes

This commit is contained in:
= 2023-09-11 00:28:45 +02:00
parent 4b56f090d9
commit a74d4948de
3 changed files with 11 additions and 3 deletions

9
config
View File

@ -21,7 +21,10 @@ set $dir /home/gunalx/.config/sway
# 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 | wofi --dmenu --y 20 --heigth 60% --width 100% --font "Hack-Bold 12" | xargs swaymsg exec --
#set $menu dmenu_path | wofi --dmenu --y 20 --heigth 60% --width 100% --font "Hack-Bold 12" | xargs swaymsg exec --
set $menu dmenu_path | wofi --dmenu | xargs swaymsg exec --
set $primary_display eDP-1
#startup
@ -135,6 +138,7 @@ input * {
#shortcuts for applications
bindsym $mod+Shift+f exec firefox
bindsym $mod+Shift+c exec code
#screenshot
@ -322,3 +326,6 @@ exec waybar -c $dir/waybar.d/config -s $dir/waybar.d/style.css
#run nm-applet for wifi in waybar
exec nm-applet
# add autotiler
exec autotiler-rs

View File

@ -1,10 +1,11 @@
#!/bin/sh
dir=/home/gunalx/.config/sway/Wallpapers
swaybg -i $(find $dir -type f | shuf -n 1) -m fill &&
OLD_PID=$!
while true; do
sleep 3000
sleep 300
swaybg -i $(find $dir -type f | shuf -n1) -m fill &
NEXT_PID=$!
sleep 5

View File

@ -103,7 +103,7 @@
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""],
"format-icons": [ "", "", ""],
"on-scroll-down": "brightnessctl set 2%+",
"on-scroll-up": "brightnessctl set 2%-"