-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
160 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.dotfiles/screenlayouts/.screenlayout/handle-displays-home.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.dotfiles/screenlayouts/.screenlayout/handle-displays.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.dotfiles/screenlayouts/.screenlayout/triple-monitor.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sudo sed -i -e 's/Exec=Hyprland/Exec=env WLR_NO_HARDWARE_CURSORS=1 Hyprland/g' /usr/share/wayland-sessions/hyprland.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Ask for confirmation | ||
cdialog () { | ||
yad --title='Confirm?' --center --fixed --undecorated --button=Yes:0 --button=No:1 --text="You sure you wanna $1?" --text-align=center --align=center --justify=center --buttons-layout=center | ||
} | ||
|
||
cdialog "$1" | ||
|
||
if [[ "$?" == 0 ]]; then | ||
sleep 0.25s | ||
if [[ "$1" == 'shutdown' ]]; then | ||
systemctl poweroff | ||
elif [[ "$1" == 'reboot' ]]; then | ||
systemctl reboot | ||
elif [[ "$1" == 'hibernate' ]]; then | ||
playerctl --all-players stop | ||
~/.scripts/lock | ||
sleep 0.5s | ||
systemctl suspend-then-hibernate | ||
elif [[ "$1" == 'lock' ]]; then | ||
~/.scripts/lock | ||
elif [[ "$1" == 'suspend' ]]; then | ||
playerctl --all-players stop | ||
~/.scripts/lock | ||
sleep 0.5s | ||
systemctl suspend | ||
elif [[ "$1" == 'logout' ]]; then | ||
hyprctl dispatch exit none | ||
fi | ||
else | ||
exit | ||
fi |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
LAYOUT="$HOME/.config/wlogout/layout" | ||
STYLE="$HOME/.config/wlogout/style.css" | ||
|
||
if [[ ! `pidof wlogout` ]]; then | ||
wlogout --layout ${LAYOUT} --css ${STYLE} \ | ||
--buttons-per-row 2 \ | ||
--column-spacing 70 \ | ||
--row-spacing 70 \ | ||
--margin-top 220 \ | ||
--margin-bottom 220 \ | ||
--margin-left 380 \ | ||
--margin-right 380 | ||
else | ||
pkill wlogout | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"label": "lock", | ||
"text": "Lock", | ||
"action": "~/.config/wlogout/actions lock", | ||
"keybind": "l" | ||
} | ||
{ | ||
"label": "reboot", | ||
"text": "Reboot", | ||
"action": "~/.config/wlogout/actions reboot", | ||
"keybind": "r" | ||
} | ||
{ | ||
"label": "logout", | ||
"text": "Logout", | ||
"action": "~/.config/wlogout/actions logout", | ||
"keybind": "e" | ||
} | ||
{ | ||
"label": "shutdown", | ||
"text": "Shutdown", | ||
"action": "~/.config/wlogout/actions shutdown", | ||
"keybind": "s" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/** ********** Fonts ********** **/ | ||
* { | ||
font-family: "CaskaydiaCove Nerd Font", "Lato", sans-serif; | ||
font-size: 15px; | ||
font-weight: bold; | ||
} | ||
|
||
/** ********** Main Window ********** **/ | ||
window { | ||
background-color: transparent; | ||
} | ||
|
||
/** ********** Buttons ********** **/ | ||
button { | ||
background-color: #161925; | ||
color: #cdd6f4; | ||
border: 2px solid #282838; | ||
border-radius: 20px; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: 35%; | ||
transition: all 0.2s ease-in-out; | ||
} | ||
|
||
button:focus, | ||
button:active, | ||
button:hover { | ||
color: #FFFFFF; | ||
background-color: #b4befe; | ||
outline-style: none; | ||
} | ||
|
||
/** ********** Icons ********** **/ | ||
#lock { | ||
background-image: image(url("icons/lock.png"), url("/usr/share/wlogout/icons/lock.png")); | ||
} | ||
|
||
#logout { | ||
background-image: image(url("icons/logout.png"), url("/usr/share/wlogout/icons/logout.png")); | ||
} | ||
|
||
/* | ||
#suspend { | ||
background-image: image(url("icons/suspend.png"), url("/usr/share/wlogout/icons/suspend.png")); | ||
} | ||
*/ | ||
|
||
/* | ||
#hibernate { | ||
background-image: image(url("icons/hibernate.png"), url("/usr/share/wlogout/icons/hibernate.png")); | ||
} | ||
*/ | ||
|
||
#shutdown { | ||
background-image: image(url("icons/shutdown.png"), url("/usr/share/wlogout/icons/shutdown.png")); | ||
} | ||
|
||
#reboot { | ||
background-image: image(url("icons/reboot.png"), url("/usr/share/wlogout/icons/reboot.png")); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ content_halign=fill | |
insensitive=true | ||
allow_images=true | ||
image_size=28 | ||
gtk_dark=false | ||
gtk_dark=true | ||
term=kitty |