Skip to content

Commit

Permalink
Refactor to group setup into packages
Browse files Browse the repository at this point in the history
  • Loading branch information
A committed Jun 9, 2024
1 parent 5f98fa5 commit 5ffca6e
Show file tree
Hide file tree
Showing 37 changed files with 776 additions and 391 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
files/git
packer_compiled.lua
todo.md
bin.old
pacman.pkgs
aur.pkgs
4 changes: 2 additions & 2 deletions configs/hypr/config.d/20-key-bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ bind = $mainMod, R, togglesplit
bindle = ,XF86AudioRaiseVolume, exec, $volumeUp
bindle = ,XF86AudioLowerVolume, exec, $volumeDown
bindle = ,XF86AudioMute,exec, $volumeToggle
bindle = CTRL, EQUAL, exec, $volumeUp
bindle = CTRL, MINUS, exec, $volumeDown

bindle = ,XF86MonBrightnessUp, exec, $brightnessUp
bindle = ,XF86MonBrightnessDown, exec, $brightnessDown
Expand All @@ -41,7 +39,9 @@ bind = $mainMod, E, exec, thunar
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, pin, # All Screens
bind = $mainMod, D, exec, wofi --conf ~/.config/wofi/config
# bind = $mainMod, D, exec, ulauncher
bind = $mainMod, K, exec, ~/.bin/wofi-files --conf ~/.config/wofi/config
bind = $mainMod, j, exec, ~/.bin/wofi-jobs --conf ~/.config/wofi/config
bind = $mainMod, equal, exec, wofi-calc --conf ~/.config/wofi/config
bind = $mainMod, h, exec, ~/.bin/wofi-hyprland-hidden --conf ~/.config/wofi/config

Expand Down
2 changes: 1 addition & 1 deletion configs/kitty/themes/trash-polka.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cursor #D8DEE9

foreground #d8dee8
background #2e3340
background #303446

selection_foreground #161520
selection_background #ebece6
Expand Down
12 changes: 9 additions & 3 deletions configs/waybar/top.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"height": 36,
"spacing": 8,
"margin": "0 6px -10px",
"modules-left": ["custom/wlogout", "hyprland/workspaces"],
"modules-left": ["custom/wlogout", "hyprland/workspaces", "custom/jobs"],
"modules-center": [
"custom/dela",
"custom/newsboat",
"custom/pacman",
"custom/docker",
"custom/notification"
],
"modules-right": ["mpris", "custom/timer", "custom/timer-stats", "tray"],
"modules-right": ["mpris", "custom/timer", "tray"],
"hyprland/workspaces": {
"format": "{name}",
"format-icons": {
Expand Down Expand Up @@ -109,7 +109,6 @@
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},

"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
Expand Down Expand Up @@ -140,5 +139,12 @@
"on-click": "wlogout",
"tooltip": false
},

"custom/jobs": {
"exec": "~/.bin/job-status",
"tooltip": false,
"format": "{}",
"interval": 1,
}
}

4 changes: 3 additions & 1 deletion configs/waybar/top.style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ box.horizontal.modules-center,
#custom-timer-stats,
#custom-deadbeef,
#mpris,
#custom-wlogout
#custom-wlogout,
#custom-jobs
{
margin: 4px;
background-color: #2e3340;
Expand All @@ -37,6 +38,7 @@ box.horizontal.modules-right,
#custom-timer,
#custom-timer-stats,
#custom-deadbeef,
#custom-jobs,
#mpris,
#tray
{
Expand Down
Binary file added configs/wlogout.old/icons/hibernate-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/hibernate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/lock-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/lock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/logout-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/logout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/reboot-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/reboot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/shutdown-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/shutdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/suspend-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added configs/wlogout.old/icons/suspend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions configs/wlogout.old/layout
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"label" : "lock",
"action" : "swaylock",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}
83 changes: 83 additions & 0 deletions configs/wlogout.old/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/*
██╗ ██╗██╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗████████╗
██║ ██║██║ ██╔═══██╗██╔════╝ ██╔═══██╗██║ ██║╚══██╔══╝
██║ █╗ ██║██║ ██║ ██║██║ ███╗██║ ██║██║ ██║ ██║
██║███╗██║██║ ██║ ██║██║ ██║██║ ██║██║ ██║ ██║
╚███╔███╔╝███████╗╚██████╔╝╚██████╔╝╚██████╔╝╚██████╔╝ ██║
╚══╝╚══╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝
WLogout Config File by Arfan Zubi
*/

window {
color: #D3C6AA;
background-color: rgba(45, 53, 59, 0.7);
font-family: 'FiraCode Nerd Font', sans-serif;
font-weight: bold;
font-size: 20px;
}

button {
margin: 5px;
color: #D3C6AA;
background-color: #272E33;
background-size: 20%;
background-repeat: no-repeat;
background-position: center;
border: 5px solid #3D484D;
border-radius: 15px;
box-shadow: none;
text-shadow: none;
opacity: 0.9;
transition: background-color 0.2s ease-in-out;
}

button:focus, button:active, button:hover {
color: #2D353B;
background-color: #A7C080;
text-shadow: none;
}

#lock {
background-image: image(url("./icons/lock.png"));
}
#lock:hover, #lock:focus {
background-image: image(url("./icons/lock-hover.png"));
}

#logout {
background-image: image(url("./icons/logout.png"));
}
#logout:hover, #logout:focus {
background-image: image(url("./icons/logout-hover.png"));
}

#suspend {
background-image: image(url("./icons/suspend.png"));
}
#suspend:hover, #suspend:focus {
background-image: image(url("./icons/suspend-hover.png"));
}

#hibernate {
background-image: image(url("./icons/hibernate.png"));
}
#hibernate:hover, #hibernate:focus {
background-image: image(url("./icons/hibernate-hover.png"));
}

#shutdown {
background-image: image(url("./icons/shutdown.png"));
}
#shutdown:hover, #shutdown:focus {
background-image: image(url("./icons/shutdown-hover.png"));
}

#reboot {
background-image: image(url("./icons/reboot.png"));
}
#reboot:hover, #reboot:focus {
background-image: image(url("./icons/reboot-hover.png"));
}
34 changes: 20 additions & 14 deletions configs/wlogout/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,71 +12,77 @@ WLogout Config File by Arfan Zubi
*/

window {
color: #D3C6AA;
color: #EFF8FE;
background-color: rgba(45, 53, 59, 0.7);
font-family: 'FiraCode Nerd Font', sans-serif;
font-family: Iosevka Nerd Font, sans-serif;
font-weight: bold;
font-size: 20px;
}

button {
margin: 5px;
color: #D3C6AA;
background-color: #272E33;
color: #AF5F5F;
background-color: #EFF8FE;
background-size: 20%;
background-repeat: no-repeat;
background-position: center;
border: 5px solid #3D484D;
border-radius: 15px;
border: 4px solid #AF5F5F;
border-radius: 0;
box-shadow: none;
text-shadow: none;
opacity: 0.9;
transition: background-color 0.2s ease-in-out;
}

button:focus, button:active, button:hover {
color: #2D353B;
background-color: #A7C080;
color: #EFF8FE;
background-color: #AF5F5F;
text-shadow: none;
}

#lock {
background-image: image(url("./icons/lock.png"));
/* background-image: image(url("./icons/lock.png")); */
background-image: image(url("./icons/lock-hover.png"));
}
#lock:hover, #lock:focus {
background-image: image(url("./icons/lock-hover.png"));
}

#logout {
background-image: image(url("./icons/logout.png"));
/* background-image: image(url("./icons/logout.png")); */
background-image: image(url("./icons/logout-hover.png"));
}
#logout:hover, #logout:focus {
background-image: image(url("./icons/logout-hover.png"));
}

#suspend {
background-image: image(url("./icons/suspend.png"));
/* background-image: image(url("./icons/suspend.png")); */
background-image: image(url("./icons/suspend-hover.png"));
}
#suspend:hover, #suspend:focus {
background-image: image(url("./icons/suspend-hover.png"));
}

#hibernate {
background-image: image(url("./icons/hibernate.png"));
/* background-image: image(url("./icons/hibernate.png")); */
background-image: image(url("./icons/hibernate-hover.png"));
}
#hibernate:hover, #hibernate:focus {
background-image: image(url("./icons/hibernate-hover.png"));
}

#shutdown {
background-image: image(url("./icons/shutdown.png"));
/* background-image: image(url("./icons/shutdown.png")); */
background-image: image(url("./icons/shutdown-hover.png"));
}
#shutdown:hover, #shutdown:focus {
background-image: image(url("./icons/shutdown-hover.png"));
}

#reboot {
background-image: image(url("./icons/reboot.png"));
/* background-image: image(url("./icons/reboot.png")); */
background-image: image(url("./icons/reboot-hover.png"));
}
#reboot:hover, #reboot:focus {
background-image: image(url("./icons/reboot-hover.png"));
Expand Down
Loading

0 comments on commit 5ffca6e

Please sign in to comment.