mirror of
https://github.com/mrfluffy-dev/dotfiles.git
synced 2026-01-17 05:40:34 +00:00
some stuff
This commit is contained in:
8
script/.config/script/hide_waybar.sh
Executable file
8
script/.config/script/hide_waybar.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#chack to see if waybar is running
|
||||
if pgrep -x "waybar" >/dev/null; then
|
||||
killall -s SIGKILL -q waybar
|
||||
else
|
||||
waybar &>/dev/null &
|
||||
fi
|
||||
9
script/.config/script/startw
Executable file
9
script/.config/script/startw
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export XDG_SESSION_DESKTOP=sway
|
||||
export GDK_BACKEND="wayland,x11"
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
exec Hyprland
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
swayidle -w \
|
||||
timeout 900 'sudo systemctl suspend' \
|
||||
before-sleep 'swaylock -i $HOME/Pictures/Wallpapers/015.jpg --ring-color 8218c4 --key-hl-color 3e0c60'
|
||||
timeout 600 'systemctl suspend' \
|
||||
before-sleep 'swaylock -i $HOME/Pictures/Wallpapers/130.jpg --ring-color 8218c4 --key-hl-color 3e0c60'
|
||||
|
||||
3
script/.config/script/wayscreenshot.sh
Executable file
3
script/.config/script/wayscreenshot.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
grim -g "$(slurp)" - | swappy -f -
|
||||
Reference in New Issue
Block a user