Dot Files

This commit is contained in:
2026-04-30 13:51:27 +01:00
commit fd6d40687d
3 changed files with 236 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
# Ignore everything in repository root
/*
# Files to not ignore
!/.gitignore
!/some_other_files
# Folder to not ignore
!/waybar/

104
waybar/config Normal file
View File

@@ -0,0 +1,104 @@
{
"modules-left": ["clock#date", "clock", "custom/launcher"],
"modules-center": [],
"modules-right": ["network", "bluetooth", "pulseaudio", "custom/power"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"network": {
"format-wifi": "<span color='#962fb5'>{icon} </span>{essid} ({signalStrength}%)",
"format-ethernet": "<span color='#962fb5'> </span>Ethernet",
"format-disconnected": "󰅛 Not Connected",
"tooltip-format": "{ipaddr} via {gwaddr}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "orbit toggle top-right",
"on-click-right": "kitty -e nmtui",
"format-icons": {
"wifi": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"],
"ethernet": "",
"disconnected": "󰅛"
}
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 15,
"spacing": 10
},
"clock": {
"format": " {:%H:%M}"
},
"clock#date": {
"format": " {:%A, %B %d, %Y}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 2,
"weeks-pos" : "right",
"on-scroll" : 1,
"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"
}
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-muted": " {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {format_source}",
"format-source": " {volume}%",
"format-source-muted": " {volume}%",
"format-icons": {
"default": [
"<span color='#808080'></span>",
"<span color='#ffff66'></span>",
"<span color='#00ff7f'> </span>"]
},
"on-click": "pavucontrol"
},
"bluetooth": {
"format-on": "<span color='#00ff7f'></span> On",
"format-off": "<span color='#888888'>󰂲 Off</span>",
"format-disabled": "<span color='#888888'>󰂲 Off</span>",
"format-connected": "<span color='#0478d6'>󰂱</span> {device_alias}",
"format-connected-battery": "<span color='#0478d6'>󰂱 </span> {device_alias} <span color='#0478d6'>󰥈 </span> {device_battery_percentage}%",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "blueman-manager",
"on-click-right": "rfkill toggle bluetooth"
},
"custom/power": {
"format": " ",
"on-click": "~/.config/rofi/powermenu/type-2/powermenu.sh"
},
"custom/scratchpad-indicator": {
"format-text": "{}hi",
"return-type": "json",
"interval": 3,
"exec": "~/.local/bin/scratchpad-indicator 2> /dev/null",
"exec-if": "exit 0",
"on-click": "swaymsg 'scratchpad show'",
"on-click-right": "swaymsg 'move scratchpad'"
},
"custom/launcher": {
"format":" ",
"tooltip-format": "Click To Launch Bitwarden",
"on-click": "exec bitwarden-desktop"
}
}

123
waybar/style.css Normal file
View File

@@ -0,0 +1,123 @@
* {
border: none;
font-family: Font Awesome, Roboto, Arial, sans-serif;
font-size: 13px;
color: #ffffff;
border-radius: 20px;
}
window#waybar {
background: rgba(0, 0, 0, 0);
}
/*-----module groups----*/
.modules-right {
margin: 2px 10px 0 0;
}
.modules-center {
margin: 2px 0 0 0;
}
.modules-left {
margin: 2px 0 0 5px;
}
/*-----modules indv----*/
#workspaces button {
padding: 1px 5px;
background-color: transparent;
}
#workspaces button:hover {
box-shadow: inherit;
background-color: rgba(0,153,153,1);
}
#workspaces button.focused {
background-color: rgba(0,43,51,0.85);
}
#clock {
padding: 5px 15px;
background-color: rgba(0,43,51,0.85);
border-radius: 20px;
margin: 5px 3px;
}
#battery,
#cpu,
#memory,
#temperature,
#network {
padding: 5px 15px;
background-color: rgba(0,43,51,0.85);
border-radius: 20px;
margin: 5px 3px;
}
#pulseaudio {
padding: 5px 10px 5px 15px;
background-color: rgba(0,43,51,0.85);
border-radius: 20px;
margin: 5px 3px;
}
#bluetooth {
padding: 5px 15px 5px 15px;
background-color: rgba(0,43,51,0.85);
border-radius: 20px;
margin: 5px 3px;
}
#custom-media,
#custom-launcher{
font-size: 16px;
background-image: url('/home/thomas/Pictures/Icons/bitwarden.svg');
background-position: center;
background-color: rgba(0,43,51,0.85);
background-repeat: no-repeat;
background-size: 18px 18px;
padding: 5px 8px;
margin: 5px 3px;
min-width: 20px;
min-height: 20px;
}
#tray,
#mode,
#custom-power,
#custom-menu,
#idle_inhibitor {
padding: 5px 15px;
background-color: rgba(0,43,51,0.85);
border-radius: 20px;
margin: 5px 3px;
}
#mode {
color: #cc3436;
font-weight: bold;
}
#custom-power {
background-color: rgba(255, 0, 0, 0.993);
border-radius: 100px;
margin: 6px 4px 5px 3px;
padding: 5px;
padding-left: 10px;
}
/*-----Indicators----*/
#idle_inhibitor.activated {
color: #2dcc36;
}
#pulseaudio.muted {
color: #cc3436;
}
#battery.charging {
color: #2dcc36;
}
#battery.warning:not(.charging) {
color: #e6e600;
}
#battery.critical:not(.charging) {
color: #cc3436;
}
#temperature.critical {
color: #cc3436;
}
/*-----Colors----*/
/*
*rgba(0,85,102,1),#005566 --> Indigo(dye)
*rgba(0,43,51,1),#002B33 --> Dark Green
*rgba(0,153,153,1),#009999 --> Persian Green
*
*/