aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <mail@abdus.xyz>2020-08-29 19:13:22 +0530
committerAbdus <mail@abdus.xyz>2020-08-29 19:13:22 +0530
commitdbf8582df5a6c65d3daf636cd4a92c8ef2bafe58 (patch)
treef2efbf065bdfe837ebcf98782e2d146598649def
parent8641ea037018aebfed7f44967f423e19f5c1f84f (diff)
downloaddotfiles-dbf8582df5a6c65d3daf636cd4a92c8ef2bafe58.tar.bz2
dotfiles-dbf8582df5a6c65d3daf636cd4a92c8ef2bafe58.zip
:fire: add rofi. new waybar configs.
-rwxr-xr-xaggregate.sh5
-rw-r--r--rofi/material.rasi148
-rw-r--r--sway/config6
-rw-r--r--waybar/conf.d/config.material122
l---------[-rw-r--r--]waybar/config213
l---------[-rw-r--r--]waybar/style.css271
-rw-r--r--waybar/styles.d/style.custom-1.css163
-rw-r--r--waybar/styles.d/style.material.css177
-rw-r--r--zsh/.zshrc11
9 files changed, 500 insertions, 616 deletions
diff --git a/aggregate.sh b/aggregate.sh
index 071d683..3816148 100755
--- a/aggregate.sh
+++ b/aggregate.sh
@@ -15,7 +15,7 @@ function update_eerything () {
rsync --out-format="%n" -La ~/.config/sway/* ./sway/
# waybar
- rsync --out-format="%n" -La ~/.config/waybar/* ./waybar/
+ rsync --out-format="%n" -a ~/.config/waybar/* ./waybar/
# i3status
rsync --out-format="%n" -La ~/.config/i3status/* ./i3status/
@@ -38,6 +38,9 @@ function update_eerything () {
# gitconfig
rsync --out-format="%n" -La ~/.gitconfig ./git/
+ # rofi
+ rsync --out-format="%n" -La ~/.config/rofi/* ./rofi/
+
# scripts
rsync --out-format="%n" --exclude="bin" -La ~/scripts/* ./scripts/
}
diff --git a/rofi/material.rasi b/rofi/material.rasi
new file mode 100644
index 0000000..ab4b019
--- /dev/null
+++ b/rofi/material.rasi
@@ -0,0 +1,148 @@
+/**
+ * Initially created by deadguy
+ */
+
+configuration {
+ display-drun: "Activate";
+ display-run: "Execute";
+ show-icons: true;
+ sidebar-mode: true;
+}
+
+* {
+ background-color: rgb(40, 42, 54, 0.65);
+ text-color: #f8f8f299;
+ selbg: rgb(80, 250, 123);
+ urgbg: rgb(98, 114, 164);
+ actbg: rgb(68, 71, 90, 0.2);
+ winbg: #f8f8f2;
+
+ selected-normal-foreground: @winbg;
+ normal-foreground: @text-color;
+ selected-normal-background: @actbg;
+ normal-background: @background-color;
+
+ selected-urgent-foreground: @background-color;
+ urgent-foreground: @text-color;
+ selected-urgent-background: @urgbg;
+ urgent-background: @background-color;
+
+ selected-active-foreground: @winbg;
+ active-foreground: @text-color;
+ selected-active-background: @actbg;
+ active-background: @selbg;
+
+ line-margin: 2;
+ line-padding: 2;
+ separator-style: "none";
+ hide-scrollbar: "true";
+ margin: 0px;
+ padding: 0px;
+ font: "Roboto medium 10";
+}
+
+window {
+ location: center;
+ anchor: center;
+ x-offset: 0px;
+ height: 100%;
+ width: 100%;
+ padding: 31%;
+ orientation: horizontal;
+ children: [mainbox];
+ background-color: #282a3655;
+}
+
+mainbox {
+ spacing: 0em;
+ padding: 0px;
+ width: 100%;
+ children: [ inputbar, listview ];
+ expand: true;
+}
+
+button { padding: 5px 2px; }
+
+button selected {
+ background-color: @active-background;
+ text-color: @background-color;
+}
+
+inputbar {
+ children: [ entry ];
+}
+
+textbox-prompt-colon {
+ text-color: inherit;
+ expand: false;
+ margin: 0 0.3em 0em 0em;
+ }
+
+listview {
+ spacing: 0em;
+ dynamic: false;
+ cycle: false;
+}
+
+element {
+ padding: 16px;
+ border: 0 0 0 0 solid;
+}
+
+entry {
+ expand: true;
+ text-color: @normal-foreground;
+ background-color: rgb(40, 42, 54);
+ vertical-align: 1;
+ padding: 12px;
+ font: "Roboto medium 13";
+}
+
+element normal.normal {
+ background-color: @normal-background;
+ text-color: @normal-foreground;
+}
+
+element normal.urgent {
+ background-color: @urgent-background;
+ text-color: @urgent-foreground;
+}
+
+element normal.active {
+ background-color: @active-background;
+ text-color: @active-foreground;
+}
+
+element selected.normal {
+ background-color: @selected-normal-background;
+ text-color: @selected-normal-foreground;
+ padding: 16px;
+ border: 0 0 0 5px solid;
+ border-color: @active-background;
+}
+
+element selected.urgent {
+ background-color: @selected-urgent-background;
+ text-color: @selected-urgent-foreground;
+}
+
+element selected.active {
+ background-color: @selected-active-background;
+ text-color: @selected-active-foreground;
+}
+
+element alternate.normal {
+ background-color: @normal-background;
+ text-color: @normal-foreground;
+}
+
+element alternate.urgent {
+ background-color: @urgent-background;
+ text-color: @urgent-foreground;
+}
+
+element alternate.active {
+ background-color: @active-background;
+ text-color: @active-foreground;
+}
+
diff --git a/sway/config b/sway/config
index 6200e59..4219392 100644
--- a/sway/config
+++ b/sway/config
@@ -18,12 +18,12 @@ set $term alacritty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
-set $menu dmenu_path | dmenu | xargs swaymsg exec --
+set $menu rofi -show drun -theme material -icon-theme "Papirus"
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
-output * background $HOME/Pictures/wallpaper/12.jpg fill
+output * background $HOME/Pictures/wallpaper/15.jpg fill
#
# Example configuration:
#
@@ -172,8 +172,6 @@ input * {
# sway-launcher
for_window [app_id="launcher"] floating enable, border pixel 0, sticky enable
- set $menu alacritty --dimensions 100 7 --class launcher --command sway-launcher-desktop
- bindsym $mod+Ctrl+l exec $menu
# brightness ctl
bindsym XF86MonBrightnessUp exec brightnessctl s +10%
diff --git a/waybar/conf.d/config.material b/waybar/conf.d/config.material
new file mode 100644
index 0000000..d76bbcc
--- /dev/null
+++ b/waybar/conf.d/config.material
@@ -0,0 +1,122 @@
+{
+ // "layer": "top", // Waybar at top layer
+ // "position": "bottom", // Waybar position (top|bottom|left|right)
+ //"height": 90, // Waybar height (to be removed for auto height)
+ // "width": 1280, // Waybar width
+ // Choose the order of the modules
+ "modules-left": ["custom/logo", "sway/mode", "pulseaudio#icon", "pulseaudio#sound", "backlight#icon", "backlight#value"],
+ "modules-center": ["sway/workspaces"],
+ "modules-right": ["network", "cpu", "battery", "battery#bat2", "clock", "tray"],
+ "sway/mode": {
+ "format": "<span style=\"italic\">{}</span>"
+ },
+ "idle_inhibitor": {
+ "format": "{icon}",
+ "format-icons": {
+ "activated": "",
+ "deactivated": ""
+ }
+ },
+ "tray": {
+ "icon-size": 21,
+ "spacing": 10
+ },
+ "clock": {
+ // "timezone": "America/New_York",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format-alt": "{:%Y-%m-%d}"
+ },
+ "cpu": {
+ "format": "{usage}% ",
+ "tooltip": false
+ },
+ "memory": {
+ "format": "{}% "
+ },
+ "temperature": {
+ // "thermal-zone": 2,
+ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "critical-threshold": 80,
+ // "format-critical": "{temperatureC}°C {icon}",
+ "format": "{temperatureC}°C {icon}",
+ "format-icons": ["", "", ""]
+ },
+ "backlight#icon": {
+ // "device": "acpi_video1",
+ "format": "{icon}",
+ "format-icons": ["", ""]
+ },
+ "backlight#value": {
+ // "device": "acpi_video1",
+ "format": "{percent}",
+ },
+ "battery": {
+ "states": {
+ // "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-charging": "{capacity}% ",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{time} {icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "battery#bat2": {
+ "bat": "BAT2"
+ },
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "format-wifi": "",
+ "format-ethernet": "",
+ "format-linked": "(No IP) ",
+ "format-disconnected": "",
+ "format-alt": "{ifname}: {ipaddr}/{cidr}"
+ },
+ "pulseaudio#sound": {
+ "format": "{volume}",
+ "format-icons": {
+ "headphone": "",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", ""]
+ },
+ },
+ "pulseaudio#icon": {
+ // "scroll-step": 1, // %, can be a float
+ "format": "{icon}",
+ "format-bluetooth": "{icon}",
+ "format-bluetooth-muted": " {icon}",
+ "format-muted": "",
+ "format-source-muted": "",
+ "format-icons": {
+ "headphone": "",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", ""]
+ },
+ },
+ "custom/media": {
+ "format": "{icon} {}",
+ "return-type": "json",
+ "max-length": 40,
+ "format-icons": {
+ "spotify": "",
+ "default": "🎜"
+ },
+ "escape": true,
+ "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
+ // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
+ },
+ "custom/logo": {
+ "format": ""
+ }
+}
diff --git a/waybar/config b/waybar/config
index 15bce91..9361ea0 100644..120000
--- a/waybar/config
+++ b/waybar/config
@@ -1,212 +1 @@
-{
- // "layer": "top", // Waybar at top layer
- // "position": "bottom", // Waybar position (top|bottom|left|right)
- // "height": 30, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
- // Choose the order of the modules
- "modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
- "modules-center": [],
- "modules-right": [
- "custom/arrow9",
- "idle_inhibitor",
- "custom/arrow8",
- "pulseaudio",
- "custom/arrow7",
- "network",
- "custom/arrow6",
- "cpu",
- "custom/arrow5",
- "memory",
- "custom/arrow4",
- "temperature",
- "custom/arrow3",
- "backlight",
- "custom/arrow2",
- "battery",
- "custom/arrow1",
- "clock",
- "tray"
- ],
- // Modules configuration
- "sway/workspaces": {
- "disable-scroll": true,
- "all-outputs": true,
- "format": "{icon}",
- "format-icons": {
- // "1": "",
- // "2": "龜",
- // "3": "",
- // "4": "",
- // "5": "",
- // "6": "",
- // "urgent": "",
- // "focused": "",
- // "default": ""
- }
- },
- "sway/mode": {
- "format": "<span style=\"italic\">{}</span>"
- },
- "mpd": {
- "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
- "format-disconnected": "Disconnected ",
- "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
- "unknown-tag": "N/A",
- "interval": 2,
- "consume-icons": {
- "on": " "
- },
- "random-icons": {
- "off": "<span color=\"#f53c3c\"></span> ",
- "on": " "
- },
- "repeat-icons": {
- "on": " "
- },
- "single-icons": {
- "on": "1 "
- },
- "state-icons": {
- "paused": "",
- "playing": ""
- },
- "tooltip-format": "MPD (connected)",
- "tooltip-format-disconnected": "MPD (disconnected)"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- // "icon-size": 21,
- "spacing": 10
- },
- "clock": {
- // "timezone": "America/New_York",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "format-alt": "{:%Y-%m-%d}"
- },
- "cpu": {
- "format": "{usage}% ",
- "tooltip": false
- },
- "memory": {
- "format": "{}% "
- },
- "temperature": {
- // "thermal-zone": 2,
- // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
- "critical-threshold": 80,
- // "format-critical": "{temperatureC}°C {icon}",
- "format": "{temperatureC}°C {icon}",
- "format-icons": ["", "", ""]
- },
- "backlight": {
- // "device": "acpi_video1",
- "format": "{percent}% {icon}",
- "format-icons": ["", ""]
- },
- "battery": {
- "states": {
- // "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "{capacity}% {icon}",
- "format-charging": "{capacity}% ",
- "format-plugged": "{capacity}% ",
- "format-alt": "{time} {icon}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
- "format-icons": ["", "", "", "", ""]
- },
- "battery#bat2": {
- "bat": "BAT2"
- },
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "{essid} ({signalStrength}%) ",
- "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "Disconnected ⚠",
- "format-alt": "{ifname}: {ipaddr}/{cidr}"
- },
- "pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "{volume}% ",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "pavucontrol"
- },
- "custom/media": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 40,
- "format-icons": {
- "spotify": "",
- "default": "🎜"
- },
- "escape": true,
- "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
- // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
- },
- "custom/arrow1": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow2": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow3": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow4": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow5": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow6": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow7": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow8": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow9": {
- "format": "",
- "tooltip": false
- },
- "custom/arrow10": {
- "format": "",
- "tooltip": false
- },
- "custom/linuxlogo": {
- "format": "",
- "tooltip": false
- }
-}
+conf.d/config.material \ No newline at end of file
diff --git a/waybar/style.css b/waybar/style.css
index 74c857c..20889fd 100644..120000
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -1,270 +1 @@
-* {
- border: none;
- border-radius: 0;
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: "IBM Plex Mono", "Font Awesome 5 Free", Roboto, Helvetica, Arial,
- sans-serif;
- font-size: 13px;
- min-height: 0;
- /* font-weight: bold; */
-}
-
-window#waybar {
- background-color: transparent;
- border-bottom: none;
- color: #ffffff;
- transition-property: background-color;
- transition-duration: 0.5s;
-}
-
-window#waybar.hidden {
- opacity: 0.2;
-}
-
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
-window#waybar.termite {
- background-color: #3f3f3f;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
-#workspaces button {
- padding: 0 8px;
- font-weight: bolder;
- color: #000133;
- border: 1px solid #000133;
- border-radius: 6px;
- padding: 0 3px;
- margin: 4px 10px;
-}
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-#workspaces button:hover {
- background: rgba(0, 1, 51, 0.2);
- color: #ffffff;
- box-shadow: inherit;
-}
-
-#workspaces button.focused {
- background-color: #000133;
- color: lightgray;
-}
-
-#workspaces button.urgent {
- background-color: #eb4d4b;
-}
-
-#mode {
- background-color: #000133;
- color: #ffa000;
- /* border-bottom: 3px solid #ffffff; */
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#temperature,
-#backlight,
-#network,
-#pulseaudio,
-#custom-media,
-#tray,
-#mode,
-#idle_inhibitor,
-#mpd, #custom-linuxlogo {
- padding: 0 10px;
- color: #ffffff;
- border-radius: 6px;
- margin: 4px 10px;
- padding: 0 10px;
-}
-
-#clock {
- background-color: #000133;
-}
-
-#battery {
- background-color: #002147;
-}
-
-#battery.charging {
- /*color: #ffffff;*/
- /*background-color: #26a65b;*/
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
-}
-
-#battery.critical:not(.charging) {
- background-color: #f53c3c;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-label:focus {
- background-color: #000000;
-}
-
-#cpu {
- background-color: #003366;
- /*color: #000000;*/
-}
-
-#memory {
- background-color: #08457e;
-}
-
-#backlight {
- background-color: #003153;
- /*color: #141414;*/
-}
-
-#network {
- background-color: #003153;
-}
-
-#network.disconnected {
- color: #f53c3c;
-}
-
-#pulseaudio {
- background-color: #002147;
- /*color: #000000;*/
-}
-
-#pulseaudio.muted {
- /*background-color: #90b1b1;*/
- /*color: #2a5c45;*/
-}
-
-#custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
-}
-
-#custom-media.custom-spotify {
- background-color: #66cc99;
-}
-
-#custom-media.custom-vlc {
- background-color: #ffa000;
-}
-
-#temperature {
- background-color: #003366;
-}
-
-#temperature.critical {
- background-color: #eb4d4b;
-}
-
-#tray {
- font-size: 22px;
- background-color: #000133;
-}
-
-#idle_inhibitor {
- background-color: #000133;
-}
-
-/*#idle_inhibitor.activated {*/
-/*background-color: #ecf0f1;*/
-/*color: #2d3436;*/
-/*}*/
-
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
- color: #ffffff;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
-
-#custom-arrow1,
-#custom-arrow2,
-#custom-arrow3,
-#custom-arrow4,
-#custom-arrow5,
-#custom-arrow6,
-#custom-arrow7,
-#custom-arrow8,
-#custom-arrow9,
-#custom-arrow10 {
- background-color: #002147;
- color: #000133;
-}
-
-#custom-arrow2 {
- background-color: #003153;
- color: #002147;
-}
-
-#custom-arrow3 {
- background-color: #003366;
- color: #003153;
-}
-
-#custom-arrow4 {
- background-color: #08457e;
- color: #003366;
-}
-
-#custom-arrow5 {
- background-color: #003366;
- color: #08457e;
-}
-
-#custom-arrow6 {
- background-color: #003153;
- color: #003366;
-}
-
-#custom-arrow7 {
- background-color: #002147;
- color: #003153;
-}
-
-#custom-arrow8 {
- background-color: #000133;
- color: #002147;
-}
-
-#custom-arrow9 {
- background-color: transparent;
-}
-
-#custom-linuxlogo {
- color: black;
- font-size: 1.2em;
-}
+styles.d/style.material.css \ No newline at end of file
diff --git a/waybar/styles.d/style.custom-1.css b/waybar/styles.d/style.custom-1.css
index 74c857c..147ae02 100644
--- a/waybar/styles.d/style.custom-1.css
+++ b/waybar/styles.d/style.custom-1.css
@@ -6,7 +6,7 @@
sans-serif;
font-size: 13px;
min-height: 0;
- /* font-weight: bold; */
+ font-weight: bold;
}
window#waybar {
@@ -21,44 +21,22 @@ window#waybar.hidden {
opacity: 0.2;
}
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
-window#waybar.termite {
- background-color: #3f3f3f;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
#workspaces button {
- padding: 0 8px;
- font-weight: bolder;
- color: #000133;
- border: 1px solid #000133;
- border-radius: 6px;
- padding: 0 3px;
- margin: 4px 10px;
+ padding: 0.5rem 0.7rem;
+ margin: 10px 0;
+ background: #282a36;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
- background: rgba(0, 1, 51, 0.2);
+ background: rgba(0, 1, 51, 0.6);
color: #ffffff;
box-shadow: inherit;
}
#workspaces button.focused {
- background-color: #000133;
- color: lightgray;
+ background: #50fa7b;
+ color: #282a36;
}
#workspaces button.urgent {
@@ -83,20 +61,22 @@ window#waybar.chromium {
#tray,
#mode,
#idle_inhibitor,
-#mpd, #custom-linuxlogo {
- padding: 0 10px;
+#mpd,
+#custom-linuxlogo {
+ padding: 0.5rem 0.7rem;
color: #ffffff;
- border-radius: 6px;
- margin: 4px 10px;
- padding: 0 10px;
+ margin: 10px 0;
+ background: #282a36;
}
#clock {
- background-color: #000133;
+ background-color: #50fa7b;
+ color: #282a36;
+ margin-right: 10px;
}
#battery {
- background-color: #002147;
+ /*background-color: #002147;*/
}
#battery.charging {
@@ -126,34 +106,39 @@ label:focus {
}
#cpu {
- background-color: #003366;
+ /*background-color: #003366;*/
/*color: #000000;*/
}
#memory {
- background-color: #08457e;
+ /*background-color: #08457e;*/
+}
+
+#backlight.icon {
+ background: #50fa7b;
+ color: #282a36;
}
-#backlight {
- background-color: #003153;
- /*color: #141414;*/
+#backlight.value {
+ margin-right: 10px;
}
#network {
- background-color: #003153;
+ color: #50fa7b;
}
#network.disconnected {
- color: #f53c3c;
+ color: #ff0000;
}
-#pulseaudio {
- background-color: #002147;
- /*color: #000000;*/
+#pulseaudio.icon {
+ background: #50fa7b;
+ color: #000;
+ margin-left: 10px;
}
-#pulseaudio.muted {
- /*background-color: #90b1b1;*/
+#pulseaudio.muted.icon {
+ background-color: gray;
/*color: #2a5c45;*/
}
@@ -172,7 +157,7 @@ label:focus {
}
#temperature {
- background-color: #003366;
+ /*background-color: #003366;*/
}
#temperature.critical {
@@ -181,90 +166,14 @@ label:focus {
#tray {
font-size: 22px;
- background-color: #000133;
+ /*background-color: #000133;*/
}
#idle_inhibitor {
- background-color: #000133;
+ /*background-color: #000133;*/
}
/*#idle_inhibitor.activated {*/
/*background-color: #ecf0f1;*/
/*color: #2d3436;*/
/*}*/
-
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
- color: #ffffff;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
-
-#custom-arrow1,
-#custom-arrow2,
-#custom-arrow3,
-#custom-arrow4,
-#custom-arrow5,
-#custom-arrow6,
-#custom-arrow7,
-#custom-arrow8,
-#custom-arrow9,
-#custom-arrow10 {
- background-color: #002147;
- color: #000133;
-}
-
-#custom-arrow2 {
- background-color: #003153;
- color: #002147;
-}
-
-#custom-arrow3 {
- background-color: #003366;
- color: #003153;
-}
-
-#custom-arrow4 {
- background-color: #08457e;
- color: #003366;
-}
-
-#custom-arrow5 {
- background-color: #003366;
- color: #08457e;
-}
-
-#custom-arrow6 {
- background-color: #003153;
- color: #003366;
-}
-
-#custom-arrow7 {
- background-color: #002147;
- color: #003153;
-}
-
-#custom-arrow8 {
- background-color: #000133;
- color: #002147;
-}
-
-#custom-arrow9 {
- background-color: transparent;
-}
-
-#custom-linuxlogo {
- color: black;
- font-size: 1.2em;
-}
diff --git a/waybar/styles.d/style.material.css b/waybar/styles.d/style.material.css
new file mode 100644
index 0000000..4e3df52
--- /dev/null
+++ b/waybar/styles.d/style.material.css
@@ -0,0 +1,177 @@
+* {
+ border: none;
+ border-radius: 0;
+ /* `otf-font-awesome` is required to be installed for icons */
+ font-family: "IBM Plex Mono", "Font Awesome 5 Free", Roboto, Helvetica, Arial,
+ sans-serif;
+ font-size: 13px;
+ min-height: 0;
+ font-weight: bold;
+}
+
+window#waybar {
+ background-color: transparent;
+ border-bottom: none;
+ color: #ffffff;
+ transition-property: background-color;
+ transition-duration: 0.5s;
+}
+
+window#waybar.hidden {
+ opacity: 0.2;
+}
+
+#workspaces button {
+ padding: 0.5rem 0.7rem;
+ margin: 10px 0;
+ background: #282a36;
+}
+
+/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
+#workspaces button:hover {
+ background: rgba(0, 1, 51, 0.6);
+ color: #ffffff;
+ box-shadow: inherit;
+}
+
+#workspaces button.focused {
+ background: #50fa7b;
+ color: #282a36;
+}
+
+#workspaces button.urgent {
+ background-color: #eb4d4b;
+}
+
+#mode {
+ background-color: #000133;
+ color: #ffa000;
+ /* border-bottom: 3px solid #ffffff; */
+}
+
+#clock,
+#battery,
+#cpu,
+#memory,
+#temperature,
+#backlight,
+#network,
+#pulseaudio,
+#custom-media,
+#tray,
+#mode,
+#idle_inhibitor,
+#mpd,
+#custom-logo {
+ padding: 0.5rem 0.7rem;
+ color: #ffffff;
+ margin: 10px 0;
+ background: #282a36;
+}
+
+#clock {
+ background-color: #50fa7b;
+ color: #282a36;
+ margin-right: 10px;
+}
+
+#battery {
+ /*background-color: #002147;*/
+}
+
+#battery.charging {
+ /*color: #ffffff;*/
+ /*background-color: #26a65b;*/
+}
+
+@keyframes blink {
+ to {
+ background-color: #ffffff;
+ color: #000000;
+ }
+}
+
+#battery.critical:not(.charging) {
+ background-color: #f53c3c;
+ color: #ffffff;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+}
+
+label:focus {
+ background-color: #000000;
+}
+
+#cpu {
+ /*background-color: #003366;*/
+ /*color: #000000;*/
+}
+
+#memory {
+ /*background-color: #08457e;*/
+}
+
+#backlight.icon {
+ background: #50fa7b;
+ color: #282a36;
+}
+
+#backlight.value {
+ margin-right: 10px;
+}
+
+#network {
+ color: #50fa7b;
+}
+
+#network.disconnected {
+ color: #ff0000;
+}
+
+#pulseaudio.icon {
+ background: #50fa7b;
+ color: #000;
+ margin-left: 10px;
+}
+
+#pulseaudio.muted.icon {
+ background-color: gray;
+ /*color: #2a5c45;*/
+}
+
+#custom-media {
+ background-color: #66cc99;
+ color: #2a5c45;
+ min-width: 100px;
+}
+
+#custom-media.custom-spotify {
+ background-color: #66cc99;
+}
+
+#custom-media.custom-vlc {
+ background-color: #ffa000;
+}
+
+#temperature {
+ /*background-color: #003366;*/
+}
+
+#temperature.critical {
+ background-color: #eb4d4b;
+}
+
+#tray {
+ font-size: 22px;
+ /*background-color: #000133;*/
+}
+
+#custom-logo {
+ background: deeppink;
+ margin-left: 10px;
+ font-size: 1.3em;
+ color: #282a36;
+}
diff --git a/zsh/.zshrc b/zsh/.zshrc
index d597c9b..d9b59bd 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,8 +1,8 @@
# If you come from bash you might have to change your $PATH.
-export PATH=$HOME/bin:/usr/local/bin:$HOME/.npm-bin/bin:/home/crow/.gem/ruby/2.6.0/bin:/home/crow/go/bin:/home/crow/Desktop/scripts:/home/crow/.gem/ruby/2.7.0/bin:/home/crow/.local/bin:/home/crow/.cargo/bin:/home/crow/.deno/bin:~/scripts:$PATH
+export PATH=$HOME/bin:/usr/local/bin:$HOME/.npm-bin/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/go/bin:$HOME/Desktop/scripts:$HOME/.gem/ruby/2.7.0/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.deno/bin:~/scripts:$PATH
# Path to your oh-my-zsh installation.
-export ZSH="/home/crow/.oh-my-zsh"
+export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
@@ -153,6 +153,13 @@ alias gca="git commit --ammend -m"
alias gpush="git push origin"
alias gpull="git pull origin"
+alias zshconf="/usr/bin/nvim ~/.zshrc"
+alias swayconf="/usr/bin/nvim ~/.config/sway/config"
+alias nvimconf="/usr/bin/nvim ~/.config/nvim/init.vim"
+alias roficonf="/usr/bin/nvim ~/.config/rofi/material.rasi"
+alias waybarconf="/usr/bin/nvim ~/.config/waybar/config"
+
+alias dotfiles="cd ~/Dev/dotfiles"
#==== FUNCTIONS ==========================================================
function cd() {