1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-26 04:28:43 +01:00

gettin' nordy with it

This commit is contained in:
Nick Boughton 2021-08-17 20:32:59 +01:00
parent 1bcafbaa4f
commit 16f3677cde
8 changed files with 77 additions and 40 deletions

2
.gitignore vendored

@ -49,3 +49,5 @@ configstore/
eog/ eog/
lutris/ lutris/
menus/ menus/
oomox/
inkscape/

@ -1,7 +1,7 @@
[Settings] [Settings]
gtk-application-prefer-dark-theme=0 gtk-application-prefer-dark-theme=0
gtk-theme-name=Gruvbox-Material-Dark gtk-theme-name=Nordic-darker
gtk-icon-theme-name=Gruvbox-Material-Dark gtk-icon-theme-name=Tela-circle-blue-dark
gtk-font-name=Roboto 10 gtk-font-name=Roboto 10
gtk-cursor-theme-name=Adwaita gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0

@ -13,7 +13,7 @@ input "type:touchpad" {
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
# Your preferred terminal emulator # Your preferred terminal emulator
set $term kitty set $term alacritty
# Your preferred application launcher # Your preferred application launcher
set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I
#set $menu nwggrid -f #set $menu nwggrid -f
@ -21,15 +21,15 @@ set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I
### Gnome settings ### Gnome settings
set $gnome-schema org.gnome.desktop.interface set $gnome-schema org.gnome.desktop.interface
exec_always { exec_always {
gsettings set $gnome-schema gtk-theme 'Gruvbox-Material-Dark' gsettings set $gnome-schema gtk-theme 'Nordic-darker'
gsettings set $gnome-schema icon-theme 'Gruvbox-Material-Dark' gsettings set $gnome-schema icon-theme 'Tela-circle-blue-dark'
gsettings set $gnome-schema font-name 'Roboto Regular 10' gsettings set $gnome-schema font-name 'Roboto Regular 10'
gsettings set $gnome-schema monospace-font-name 'Fira Code 10' gsettings set $gnome-schema monospace-font-name 'Fira Code 10'
gsettings set $gnome-schema document-font-name 'Roboto Regular 10' gsettings set $gnome-schema document-font-name 'Roboto Regular 10'
gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Roboto Regular 10' gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Roboto Regular 10'
gsettings set org.gnome.desktop.wm.preferences button-layout '' gsettings set org.gnome.desktop.wm.preferences button-layout ''
gsettings set org.gnome.desktop.default-applications.terminal exec $term gsettings set org.gnome.desktop.default-applications.terminal exec $term
gsettings set org.gnome.desktop.default-applications.terminal exec-arg '' gsettings set org.gnome.desktop.default-applications.terminal exec-arg '-e'
} }
@ -274,12 +274,13 @@ titlebar_border_thickness 0
# Colors & background # Colors & background
# #
include ~/.cache/wal/colors-sway include ~/.cache/wal/colors-sway
output "*" background /home/nick/Pictures/Wallpapers/photo-1517999179346-a7078f1e40a6.jpeg fill output "*" background /home/nick/Pictures/Wallpapers/wl0fdl62lik41.jpg fill
#output "*" background /home/nick/Pictures/Wallpapers/5b1iuo0xlth61.png fill #output "*" background /home/nick/Pictures/Wallpapers/5b1iuo0xlth61.png fill
#output "*" background $wallpaper fill #output "*" background $wallpaper fill
# class border backgr. text indicator child_border # class border backgr. text indicator child_border
client.focused $foreground $background $color4 $foreground $foreground client.focused $foreground $background $color6 $foreground $foreground
client.focused_inactive $color8 $background $foreground $color8 $color8 client.focused_inactive $color8 $background $foreground $color8 $color8
client.unfocused $color8 $background $foreground $color8 $color8 client.unfocused $color8 $background $foreground $color8 $color8
client.urgent $foreground $background $color1 $foreground $foreground client.urgent $foreground $background $color1 $foreground $foreground

@ -0,0 +1,26 @@
{
"alpha": "100",
"special": {
"background": "#2E3440",
"foreground": "#D8DEE9",
"cursor": "#D8DEE9"
},
"colors": {
"color0": "#2E3440",
"color1": "#BF616A",
"color2": "#A3BE8C",
"color3": "#EBCB8B",
"color4": "#5E81AC",
"color5": "#B48EAD",
"color6": "#8FBCBB",
"color7": "#D8DEE9",
"color8": "#4C566A",
"color9": "#BF616A",
"color10": "#A3BE8C",
"color11": "#EBCB8B",
"color12": "#5E81AC",
"color13": "#B48EAD",
"color14": "#8FBCBB",
"color15": "#ECEFF4"
}
}

@ -24,7 +24,7 @@
"wlr/taskbar": { "wlr/taskbar": {
"all-outputs": false, "all-outputs": false,
"format": "{icon} {title:.15}", "format": "{icon} {title:.15}",
"icon-theme": "Gruvbox-Material-Dark", "icon-theme": "Tela-circle-blue-dark",
"icon-size": 14, "icon-size": 14,
"on-click": "activate", "on-click": "activate",
"on-middle-click": "close", "on-middle-click": "close",
@ -46,7 +46,7 @@
"custom/gputemp": { "custom/gputemp": {
"interval": 2, "interval": 2,
"return-type": "json", "return-type": "json",
"format": "{icon} {}", "format": "{icon}",
"format-icons": [ "format-icons": [
"", "",
"", "",
@ -59,7 +59,7 @@
"custom/gpuuse": { "custom/gpuuse": {
"interval": 2, "interval": 2,
"return-type": "json", "return-type": "json",
"format": " {}%", "format": " ",
"exec": "~/.config/waybar/modules/gpu/usage" "exec": "~/.config/waybar/modules/gpu/usage"
} }
}, },
@ -76,10 +76,10 @@
"clock", "clock",
"custom/separator", "custom/separator",
"battery", "battery",
"custom/separator", //"custom/separator",
"disk#1", "disk#1",
"disk#2", "disk#2",
"custom/separator", //"custom/separator",
"memory", "memory",
"cpu", "cpu",
"custom/cputemp" "custom/cputemp"
@ -88,12 +88,12 @@
"idle_inhibitor", "idle_inhibitor",
"custom/separator", "custom/separator",
"custom/covid", "custom/covid",
"custom/separator", //"custom/separator",
"custom/updates", "custom/updates",
"custom/auroch", "custom/auroch",
"custom/separator", //"custom/separator",
"backlight", "backlight",
"custom/separator", //"custom/separator",
"pulseaudio", "pulseaudio",
"custom/separator", "custom/separator",
"custom/powermenu" "custom/powermenu"
@ -161,7 +161,7 @@
"critical": 80 "critical": 80
}, },
"interval": 5, "interval": 5,
"format": " {}%" "format": ""
}, },
"cpu": { "cpu": {
"states": { "states": {
@ -170,7 +170,7 @@
"critical": 95 "critical": 95
}, },
"interval": 1, "interval": 1,
"format": " {usage:2}%" "format": ""
}, },
"battery": { "battery": {
"states": { "states": {
@ -178,7 +178,7 @@
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "{icon} {capacity}%", "format": "{icon}",
"format-icons": [ "format-icons": [
"", "",
"", "",
@ -194,7 +194,7 @@
"critical": 95 "critical": 95
}, },
"interval": 5, "interval": 5,
"format": " {percentage_used:2}%", "format": "",
"path": "/" "path": "/"
}, },
"disk#2": { "disk#2": {
@ -204,7 +204,7 @@
"critical": 95 "critical": 95
}, },
"interval": 5, "interval": 5,
"format": " {percentage_used:2}%", "format": "",
"path": "/home" "path": "/home"
}, },
"custom/updates": { "custom/updates": {
@ -213,7 +213,7 @@
"interval": 5, "interval": 5,
"exec": "cat ~/tmp/updates.json", "exec": "cat ~/tmp/updates.json",
"exec-if": "file ~/tmp/updates.json", "exec-if": "file ~/tmp/updates.json",
"on-click": "kitty ~/.config/waybar/modules/updates/updates.sh; systemctl --user start updates.service", "on-click": "alacritty -e ~/.config/waybar/modules/updates/updates.sh; systemctl --user start updates.service",
"tooltip": true "tooltip": true
}, },
"custom/auroch": { "custom/auroch": {
@ -233,7 +233,7 @@
"custom/cputemp": { "custom/cputemp": {
"interval": 2, "interval": 2,
"return-type": "json", "return-type": "json",
"format": "{icon} {}", "format": "{icon}",
"format-icons": [ "format-icons": [
"", "",
"", "",

@ -9,5 +9,5 @@ elif [[ $pct -gt 99 ]]; then
class="critical" class="critical"
fi fi
echo "{\"text\": \"$temp\", \"class\": \"$class\", \"percentage\": $pct }" echo "{\"text\": \"$temp\", \"tooltip\": \" ${temp}\", \"class\": \"$class\", \"percentage\": $pct }"

@ -9,4 +9,4 @@ elif [[ $n -gt 80 ]]; then
class="critical" class="critical"
fi fi
echo "{ \"text\": \"$(printf '%2d' $n)\", \"percentage\": $n, \"class\": \"$class\" }" echo "{ \"text\": \"$(printf '%2d' $n)\", \"tooltip\": \"$n%\", \"percentage\": $n, \"class\": \"$class\" }"

@ -26,10 +26,11 @@
/* Gruvbox */ /* Gruvbox */
@define-color text @foreground; @define-color text @foreground;
@define-color good @color2;
@define-color warn @color3; @define-color warn @color3;
@define-color crit @color1; @define-color crit @color1;
@define-color accent @color4; @define-color accent @color6;
@define-color hilight @color4; @define-color hilight @color6;
/* Sexy /* Sexy
@define-color text @foreground; @define-color text @foreground;
@ -100,7 +101,7 @@ window#waybar.bottom {
#workspaces button { #workspaces button {
color: @text; color: @text;
margin: 0; margin: 0;
padding: 3px 5px 0px 5px; padding: 3px 15px 0px 15px;
border-radius: 0px; border-radius: 0px;
} }
#workspaces button.focused { #workspaces button.focused {
@ -111,21 +112,24 @@ window#waybar.bottom {
color: @warn; color: @warn;
} }
#disk.1, #custom-auroch {
#custom-gpuuse,
#custom-gputemp,
#memory {
padding-right: 5px;
}
#disk.2,
#cpu,
#custom-swap,
#custom-auroch,
#custom-gputemp,
#custom-cputemp {
padding-left: 5px; padding-left: 5px;
} }
#battery.good,
#custom-covid.DOWN,
#cpu.good,
#custom-updates.no-updates,
#custom-auroch.no-updates,
#custom-cputemp.normal,
#custom-gputemp.normal,
#custom-gpuuse.normal,
#disk.1.good,
#disk.2.good,
#memory.good {
color: @good;
}
#battery.warning, #battery.warning,
#custom-covid.UP, #custom-covid.UP,
#cpu.warning, #cpu.warning,
@ -137,6 +141,7 @@ window#waybar.bottom {
#disk.1.warning, #disk.1.warning,
#disk.2.warning, #disk.2.warning,
#memory.warning { #memory.warning {
background: @background;
color: @warn; color: @warn;
} }
@ -150,14 +155,17 @@ window#waybar.bottom {
#disk.1.critical, #disk.1.critical,
#disk.2.critical, #disk.2.critical,
#memory.critical { #memory.critical {
background: @background;
color: @crit; color: @crit;
} }
/*
#custom-auroch.no-updates, #custom-auroch.no-updates,
#custom-covid.DOWN, #custom-covid.DOWN,
#custom-updates.no-updates { #custom-updates.no-updates {
color: @text; color: @text;
} }
*/
#custom-updates.updates, #custom-updates.updates,
#custom-auroch.updates { #custom-auroch.updates {
color: @hilight; color: @hilight;