mirror of
https://github.com/adrlau/sway-dotfiles.git
synced 2025-12-23 18:50:26 +01:00
small changes
This commit is contained in:
9
config
9
config
@@ -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
|
# 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.
|
# 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 --
|
||||||
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
|
set $primary_display eDP-1
|
||||||
|
|
||||||
#startup
|
#startup
|
||||||
@@ -135,6 +138,7 @@ input * {
|
|||||||
|
|
||||||
#shortcuts for applications
|
#shortcuts for applications
|
||||||
bindsym $mod+Shift+f exec firefox
|
bindsym $mod+Shift+f exec firefox
|
||||||
|
bindsym $mod+Shift+c exec code
|
||||||
|
|
||||||
|
|
||||||
#screenshot
|
#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
|
#run nm-applet for wifi in waybar
|
||||||
exec nm-applet
|
exec nm-applet
|
||||||
|
|
||||||
|
# add autotiler
|
||||||
|
exec autotiler-rs
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
dir=/home/gunalx/.config/sway/Wallpapers
|
dir=/home/gunalx/.config/sway/Wallpapers
|
||||||
swaybg -i $(find $dir -type f | shuf -n 1) -m fill &&
|
swaybg -i $(find $dir -type f | shuf -n 1) -m fill &&
|
||||||
|
|
||||||
OLD_PID=$!
|
OLD_PID=$!
|
||||||
while true; do
|
while true; do
|
||||||
sleep 3000
|
sleep 300
|
||||||
swaybg -i $(find $dir -type f | shuf -n1) -m fill &
|
swaybg -i $(find $dir -type f | shuf -n1) -m fill &
|
||||||
NEXT_PID=$!
|
NEXT_PID=$!
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|||||||
@@ -103,7 +103,7 @@
|
|||||||
"backlight": {
|
"backlight": {
|
||||||
// "device": "acpi_video1",
|
// "device": "acpi_video1",
|
||||||
"format": "{percent}% {icon}",
|
"format": "{percent}% {icon}",
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
"format-icons": [ "", "", ""],
|
||||||
"on-scroll-down": "brightnessctl set 2%+",
|
"on-scroll-down": "brightnessctl set 2%+",
|
||||||
"on-scroll-up": "brightnessctl set 2%-"
|
"on-scroll-up": "brightnessctl set 2%-"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user