-
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
0 parents
commit bcb8daf
Showing
43 changed files
with
1,417 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Gragaldia | ||
|
||
Minimal,Productive & Aesthetic linux rice | ||
|
||
Bar - Eww | ||
Compositor - Hyprland | ||
App launcher - Fuzzel | ||
Terminal - Foot | ||
Editor - Neovim | ||
Theme - Oxoblack(Inspired by IBM carbon & oxocarbon) | ||
|
||
Version 0.1.0 | ||
|
||
Still in the beta version. | ||
|
||
This project is me just cooking up for a bigger project coming up in the future. | ||
|
||
## Dev log | ||
|
||
Design Goals | ||
+ Aesthetic,minimal,productive | ||
|
||
Done: | ||
+ Configured nvim | ||
+ Systemwide oxocarbon theme(Slightly modified version of oxocarbon) | ||
+ Basic foot config | ||
+ hyprpaper | ||
+ fixed nvims lsp | ||
+ eww main bar and theming | ||
+ Got the eww factor | ||
+ fuzzel | ||
|
||
Bins Installed: | ||
+ yay,nvim,foot,hyprland,hyprpaper,hack nerd font,eww,jq,socat,node,npm,alsa-utils,sof-firmware,pulseaudio,brightnessctl,google-chrome,fuzzel | ||
unzip,docker,wget,burpsuite,python-pip,wl-clipboard,otf-daddytimemono-git | ||
|
||
To Do: | ||
- Git Repo, Code Name. | ||
|
||
To fix: | ||
- time :done | ||
- polling rate of sound widget :done | ||
- unstable hexpand of eww :done | ||
|
||
|
||
Later : | ||
- Power management | ||
- Hybernation | ||
- Cpu frequency adjustments | ||
- Systemwide cleaner | ||
- Backup system | ||
- System monitoring and health check |
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,226 @@ | ||
$carbon: #161616; | ||
$black: #000000; | ||
$white: #ffffff; | ||
$bright_pink: #ee5396; | ||
$green: #42be65; | ||
$dark_grey: #262626; | ||
$cyan: #3ddbd9; | ||
$blue: #33b1ff; | ||
$light_grey: #525252; | ||
$yellow: #ffe97b; | ||
$magenta: #ff7eb6; | ||
|
||
* { | ||
all: unset; | ||
} | ||
|
||
.bar{ | ||
background-color: $black; | ||
border-radius: 16px; | ||
} | ||
|
||
.bar_ { | ||
font-family:"DaddyTimeMono"; | ||
font-size: 15px; | ||
color: $white; | ||
border-radius: 16px; | ||
background-color: $black; | ||
border: 3px; | ||
border-style: solid; | ||
border-color: $bright_pink; | ||
} | ||
|
||
.workspace-entry { | ||
font-size: 20px; | ||
padding-left: 10px; | ||
} | ||
|
||
.workspace-entry.current { | ||
color: $blue; | ||
} | ||
|
||
.time { | ||
padding-right: 10px; | ||
padding-left: 10px; | ||
} | ||
|
||
.bat { | ||
padding-right: 10px; | ||
color: $green; | ||
} | ||
.volume { | ||
padding-right: 10px; | ||
padding-left: 10px; | ||
color: $white; | ||
} | ||
|
||
.volbar trough highlight { | ||
border-radius: 10px; | ||
background-color: $cyan; | ||
|
||
} | ||
|
||
scale trough { | ||
all: unset; | ||
background-color: #22242b; | ||
border-radius: 16px; | ||
min-height: 10px; | ||
min-width: 70px; | ||
margin-left: 10px; | ||
} | ||
|
||
.volume_icon{ | ||
font-size: 25px; | ||
} | ||
|
||
.brightbar trough highlight { | ||
border-radius: 10px; | ||
background-color: $yellow; | ||
} | ||
|
||
.bright_icon { | ||
font-size: 25px; | ||
} | ||
|
||
.backlight { | ||
padding-right: 10px; | ||
padding-left: 10px; | ||
} | ||
|
||
.wifi { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
} | ||
|
||
.wifi_btn{ | ||
font-size: 25px; | ||
} | ||
|
||
.clock_time_class, .clock_minute_class { | ||
font-size: 23; | ||
} | ||
|
||
.clock_time_sep { | ||
font-size: 20; | ||
} | ||
|
||
// Calendar | ||
.cal { | ||
background-color: $black; | ||
font-size: 18px; | ||
font-weight: normal; | ||
border-radius: 16px; | ||
|
||
.cal-in { | ||
padding: 0px 10px 0px 10px; | ||
color: $white; | ||
border: 3px; | ||
border-color: $bright_pink; | ||
border-style: solid; | ||
border-radius: 16px; | ||
|
||
.cal { | ||
&.highlight { | ||
padding: 20px; | ||
} | ||
|
||
padding: 5px 5px 5px 5px; | ||
margin-left: 10px; | ||
} | ||
} | ||
} | ||
|
||
calender { | ||
color: $bright_pink; | ||
|
||
} | ||
calendar:selected { | ||
color: $bright_pink; | ||
} | ||
|
||
calendar.header { | ||
color: $white; | ||
font-weight: bold; | ||
} | ||
|
||
calendar.button { | ||
color: $white; | ||
} | ||
|
||
calendar.highlight { | ||
color: $white; | ||
font-weight: bold; | ||
} | ||
|
||
calendar:indeterminate { | ||
color: $white; | ||
} | ||
|
||
.batbar { | ||
color: $green; | ||
background-color: $dark_grey; | ||
border-radius: 10px; | ||
} | ||
|
||
.bat { | ||
border-radius: 16px; | ||
margin: 0px 10px 0px 10px; | ||
} | ||
|
||
.iconbat{ | ||
font-size: 25px; | ||
color: $black; | ||
margin: 5px; | ||
} | ||
|
||
|
||
tooltip.background { | ||
background-color: $black; | ||
font-size: 18; | ||
border-radius: 10px; | ||
color: $white; | ||
border: 3px; | ||
border-radius: 16px; | ||
border-color: $bright_pink; | ||
border-style: solid; | ||
} | ||
|
||
tooltip label { | ||
margin: 6px; | ||
} | ||
|
||
.membar { | ||
color: $yellow; | ||
background-color: $dark_grey; | ||
border-radius: 10px; | ||
} | ||
|
||
.mem { | ||
border-radius: 16px; | ||
margin: 0px 10px 0px 10px; | ||
} | ||
|
||
.iconmem{ | ||
font-size: 25px; | ||
color: $black; | ||
margin: 5px; | ||
} | ||
|
||
.separ { | ||
color: $light_grey; | ||
font-weight: bold; | ||
font-size: 22px; | ||
margin: 0px 8px 0px 8px; | ||
} | ||
|
||
.title { | ||
font-size: 18px; | ||
} | ||
|
||
.ws-box { | ||
color: $white; | ||
} | ||
|
||
.ws-icons{ | ||
padding: 5px; | ||
} |
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,2 @@ | ||
(include "yuck/bar.yuck") | ||
(include "yuck/menu.yuck") |
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,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id' | ||
|
||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | | ||
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}' |
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,22 @@ | ||
#! /bin/bash | ||
function clamp { | ||
min=$1 | ||
max=$2 | ||
val=$3 | ||
python -c "print(max($min, min($val, $max)))" | ||
} | ||
|
||
direction=$1 | ||
current=$2 | ||
if test "$direction" = "down" | ||
then | ||
target=$(clamp 1 10 $(($current+1))) | ||
echo "jumping to $target" | ||
hyprctl dispatch workspace $target | ||
elif test "$direction" = "up" | ||
then | ||
target=$(clamp 1 10 $(($current-1))) | ||
echo "jumping to $target" | ||
hyprctl dispatch workspace $target | ||
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,4 @@ | ||
#! /bin/bash | ||
|
||
hyprctl activewindow -j | jq --raw-output .title | ||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}' |
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,11 @@ | ||
#!/bin/bash | ||
|
||
spaces (){ | ||
WORKSPACE_WINDOWS=$(hyprctl workspaces -j | jq 'map({key: .id | tostring, value: .windows}) | from_entries') | ||
seq 1 10 | jq --argjson windows "${WORKSPACE_WINDOWS}" --slurp -Mc 'map(tostring) | map({id: ., windows: ($windows[.]//0)})' | ||
} | ||
|
||
spaces | ||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do | ||
spaces | ||
done |
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,23 @@ | ||
#!/bin/bash | ||
|
||
status=$(nmcli g | grep -oE "disconnected") | ||
essid=$(nmcli c | grep wlp1s0 | awk '{print ($1)}') | ||
|
||
if [ $status ] ; then | ||
icon="" | ||
text="" | ||
col="#575268" | ||
|
||
else | ||
icon="" | ||
text="${essid}" | ||
col="#ffffff" | ||
fi | ||
|
||
if [[ "$1" == "--COL" ]]; then | ||
echo $col | ||
elif [[ "$1" == "--ESSID" ]]; then | ||
echo $text | ||
elif [[ "$1" == "--ICON" ]]; then | ||
echo $icon | ||
fi |
Oops, something went wrong.