-
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
1 parent
86cf49a
commit 4e292be
Showing
4 changed files
with
356 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,15 @@ | ||
# Laptop | ||
monitor = eDP-1,1920x1080@60,0x0,1.25 | ||
|
||
# Mainmod is Super | ||
$mainMod = SUPER | ||
|
||
exec-once = waybar -c /home/harija/.config/waybar/minimal/config -s /home/harija/.config/waybar/minimal/style.css | ||
exec-once = waypaper --restore | ||
|
||
bind = $mainMod CTRL SHIFT, W, exec, pkill waybar && waybar -c /home/harija/.config/waybar/minimal/config -s /home/harija/.config/waybar/minimal/style.css | ||
|
||
misc { | ||
vfr = true | ||
vrr = 0 | ||
} |
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,133 @@ | ||
|
||
{ | ||
"layer": "top", // Waybar at top layer | ||
"position": "bottom", // Waybar position (top|bottom|left|right) | ||
//"height": 5, // Waybar height (to be removed for auto height) | ||
//"width": 5, // Waybar width | ||
"spacing": 8, // Gaps between modules (4px) | ||
// Choose the order of the modules | ||
"modules-left": ["memory", "cpu", "temperature", "upower"], | ||
"modules-center": ["hyprland/workspaces"], | ||
"modules-right": [ "tray", "pulseaudio","idle_inhibitor", "power-profiles-daemon", "backlight", "network", "clock"], | ||
//Modules configuration | ||
|
||
"hyprland/workspaces": { | ||
"persistent-workspaces": { | ||
"1": [ | ||
"DP-3" // workspace 1 shown on DP-3 | ||
], | ||
"2": [ | ||
"DP-1" // workspace 2 shown on DP-1 | ||
], | ||
"3": [ | ||
"DP-1" // workspace 3 shown on DP-1 | ||
], | ||
} | ||
}, | ||
|
||
"tray": { | ||
"icon-size": 18, | ||
"spacing": 6 | ||
}, | ||
|
||
"clock": { | ||
"format": "{:%I:%M %p}", | ||
"timezone": "Australia/Melbourne", | ||
"tooltip-format": "<tt><small>{calendar}</small></tt>", | ||
"calendar": { | ||
"mode" : "month", | ||
|
||
"mode-mon-col" : 3, | ||
"weeks-pos" : "right", | ||
"on-scroll" : 1, | ||
"on-click-right": "mode", | ||
"format": { | ||
"months": "<span color='#ffead3'><b>{}</b></span>", | ||
"days": "<span color='#ecc6d9'><b>{}</b></span>", | ||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>", | ||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>", | ||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>" | ||
} | ||
}, | ||
"actions": { | ||
"on-click-right": "mode", | ||
"on-click-forward": "tz_up", | ||
"on-click-backward": "tz_down", | ||
"on-scroll-up": "shift_up", | ||
"on-scroll-down": "shift_down" | ||
} | ||
}, | ||
|
||
"temperature": { | ||
"thermal-zone": 2, | ||
"hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input", | ||
"format": "Tmp:{temperatureC:3}°C", | ||
}, | ||
"backlight": { | ||
"format": "B/L:{percent:3}%", | ||
}, | ||
|
||
"upower": { | ||
"format": "Bat:{percentage:3}", | ||
"tooltip-format": "{percentage} {time}", | ||
"icon-size": 0, | ||
"show-icon": false, | ||
"hide-if-empty": true, | ||
"tooltip": true, | ||
"tooltip-spacing": 20 | ||
}, | ||
|
||
"network": { | ||
"interval": 60, | ||
"format": "Wired", | ||
"format-wifi": "Wi-Fi", | ||
"format-alt": "{essid}", | ||
"tooltip-format": "Net:{essid} LAN IP: {ipaddr} Gateway: {gwaddr}", | ||
"format-linked": "{ifname} (No IP)", | ||
"format-disconnected": "Dscnt", | ||
}, | ||
|
||
"pulseaudio": { | ||
"scroll-step": 1, // %, can be a float | ||
"on-click-right": "exec pavucontrol", | ||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", | ||
"ignored-sinks": ["Easy Effects Sink"], | ||
"format": "Vol:{volume:3}%", | ||
"format-muted": "Vol:Mute" | ||
|
||
}, | ||
|
||
"cpu": { | ||
"interval": 1, | ||
"format": "CPU:{usage:3}%", | ||
"on-click": "exec kitty btop" | ||
}, | ||
|
||
"memory": { | ||
"interval": 5, | ||
"format": "Mem:{avail:0.1f}GiB", | ||
"on-click": "exec kitty btop" | ||
}, | ||
|
||
"power-profiles-daemon": { | ||
"format": "Pwr:{icon}", | ||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}", | ||
"tooltip": true, | ||
"format-icons": { | ||
"default": "", | ||
"performance": "Prf", | ||
"balanced": "Bal", | ||
"power-saver": "Eco" | ||
} | ||
}, | ||
|
||
"idle_inhibitor": { | ||
"format": "IdIn:{icon}", | ||
"format-icons": { | ||
"activated": "Y", | ||
"deactivated": "N" | ||
} | ||
} | ||
|
||
} | ||
|
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,83 @@ | ||
* { | ||
/* `otf-font-awesome` is required to be installed for icons */ | ||
font-family: NotoSansM Nerd Font; | ||
font-weight: 600; | ||
} | ||
|
||
/* Waybar Window */ | ||
window#waybar { | ||
/* background: #285577; SWAY BG*/ | ||
background-image: linear-gradient(90deg, #0099ff,#ff14bd ); | ||
color: #ffffff; | ||
} | ||
|
||
/* Global Buttons */ | ||
button { | ||
/* Use box-shadow instead of border so the text isn't offset */ | ||
padding: 0px; | ||
margin: 0px; | ||
border-radius: 0px; | ||
} | ||
|
||
|
||
/* Workspace Selector */ | ||
#workspaces button { | ||
padding: 0 5px; | ||
background-color: transparent; | ||
color: rgba(255, 255, 255, 0.3); | ||
} | ||
|
||
#workspaces button:hover { | ||
background: rgba(238, 238, 238, 0.2); | ||
} | ||
|
||
#workspaces button.active, | ||
#workspaces button.visible { | ||
color: #ffffff; | ||
border: solid 1px cyan; | ||
} | ||
|
||
#workspaces button.urgent { | ||
background-color: #eb4d4b; | ||
} | ||
|
||
|
||
/* Clock */ | ||
|
||
|
||
|
||
/* Status Segments */ | ||
#window, | ||
#power-profiles-daemon, | ||
#idle_inhibitor, | ||
#network, | ||
#backlight, | ||
#pulseaudio, | ||
#temperature, | ||
#memory, | ||
#cpu, | ||
#upower, | ||
#clock, | ||
#tray { | ||
padding-left: 15px; | ||
color: #ffffff; | ||
font-size: 15px; | ||
} | ||
|
||
#clock { | ||
padding-right: 15px; | ||
} | ||
|
||
|
||
#tray > .passive { | ||
-gtk-icon-effect: dim; | ||
} | ||
|
||
#tray > .needs-attention { | ||
-gtk-icon-effect: highlight; | ||
background-color: #eb4d4b; | ||
} | ||
|
||
|
||
|
||
|
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,125 @@ | ||
|
||
{ | ||
"layer": "top", // Waybar at top layer | ||
"position": "bottom", // Waybar position (top|bottom|left|right) | ||
//"height": 5, // Waybar height (to be removed for auto height) | ||
//"width": 5, // Waybar width | ||
"spacing": 8, // Gaps between modules (4px) | ||
// Choose the order of the modules | ||
"modules-left": ["memory", "cpu", "temperature", "upower"], | ||
"modules-center": ["sway/workspaces"], | ||
"modules-right": [ "tray", "pulseaudio","idle_inhibitor", "power-profiles-daemon", "backlight", "network", "clock"], | ||
//Modules configuration | ||
|
||
"sway/workspaces": { | ||
"disable-scroll": true, | ||
"all-outputs": true, | ||
"format": "{name}" | ||
}, | ||
|
||
"tray": { | ||
"icon-size": 18, | ||
"spacing": 6 | ||
}, | ||
|
||
"clock": { | ||
"format": "{:%I:%M %p}", | ||
"timezone": "Australia/Melbourne", | ||
"tooltip-format": "<tt><small>{calendar}</small></tt>", | ||
"calendar": { | ||
"mode" : "month", | ||
|
||
"mode-mon-col" : 3, | ||
"weeks-pos" : "right", | ||
"on-scroll" : 1, | ||
"on-click-right": "mode", | ||
"format": { | ||
"months": "<span color='#ffead3'><b>{}</b></span>", | ||
"days": "<span color='#ecc6d9'><b>{}</b></span>", | ||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>", | ||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>", | ||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>" | ||
} | ||
}, | ||
"actions": { | ||
"on-click-right": "mode", | ||
"on-click-forward": "tz_up", | ||
"on-click-backward": "tz_down", | ||
"on-scroll-up": "shift_up", | ||
"on-scroll-down": "shift_down" | ||
} | ||
}, | ||
|
||
"temperature": { | ||
"thermal-zone": 2, | ||
"hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input", | ||
"format": "Tmp:{temperatureC:3}°C", | ||
}, | ||
"backlight": { | ||
"format": "B/L:{percent:3}%", | ||
}, | ||
|
||
"upower": { | ||
"format": "Bat:{percentage:3}", | ||
"tooltip-format": "{percentage} {time}", | ||
"icon-size": 0, | ||
"show-icon": false, | ||
"hide-if-empty": true, | ||
"tooltip": true, | ||
"tooltip-spacing": 20 | ||
}, | ||
|
||
"network": { | ||
"interval": 60, | ||
"format": "Wired", | ||
"format-wifi": "Wi-Fi", | ||
"format-alt": "{essid}", | ||
"tooltip-format": "Net:{essid} LAN IP: {ipaddr} Gateway: {gwaddr}", | ||
"format-linked": "{ifname} (No IP)", | ||
"format-disconnected": "Dscnt", | ||
}, | ||
|
||
"pulseaudio": { | ||
"scroll-step": 1, // %, can be a float | ||
"on-click-right": "exec pavucontrol", | ||
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", | ||
"ignored-sinks": ["Easy Effects Sink"], | ||
"format": "Vol:{volume:3}%", | ||
"format-muted": "Vol:Mute" | ||
|
||
}, | ||
|
||
"cpu": { | ||
"interval": 1, | ||
"format": "CPU:{usage:3}%", | ||
"on-click": "exec kitty btop" | ||
}, | ||
|
||
"memory": { | ||
"interval": 5, | ||
"format": "Mem:{avail:0.1f}GiB", | ||
"on-click": "exec kitty btop" | ||
}, | ||
|
||
"power-profiles-daemon": { | ||
"format": "Pwr:{icon}", | ||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}", | ||
"tooltip": true, | ||
"format-icons": { | ||
"default": "", | ||
"performance": "Prf", | ||
"balanced": "Bal", | ||
"power-saver": "Eco" | ||
} | ||
}, | ||
|
||
"idle_inhibitor": { | ||
"format": "Idle:{icon}", | ||
"format-icons": { | ||
"activated": "Actv", | ||
"deactivated": "Dact" | ||
} | ||
} | ||
|
||
} | ||
|