mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-27 06:32:23 +00:00
Compare commits
No commits in common. "83395c28d9111fd4461972846243aee58b473ba0" and "3b88072585cf6ed58ad421931d246a43a3416b81" have entirely different histories.
83395c28d9
...
3b88072585
10 changed files with 91 additions and 853 deletions
|
@ -1,48 +1,48 @@
|
||||||
[user]
|
[user]
|
||||||
email = dev@elkowar.dev
|
email = dev@elkowar.dev
|
||||||
name = elkowar
|
name = elkowar
|
||||||
[include]
|
[include]
|
||||||
path = ~/.gitconfig.local
|
path = ~/.gitconfig.local
|
||||||
[credential]
|
[credential]
|
||||||
helper = store
|
helper = store
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
; {# if command_available("delta") #}
|
; {# if command_available("delta") #}
|
||||||
;<yolk> pager = delta
|
;<yolk> pager = delta
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
[github]
|
[github]
|
||||||
user = ElKowar
|
user = ElKowar
|
||||||
|
|
||||||
;[diff]
|
;[diff]
|
||||||
;external = "difft"
|
;external = "difft"
|
||||||
|
|
||||||
|
|
||||||
[delta]
|
[delta]
|
||||||
syntax-theme = gruvbox
|
syntax-theme = gruvbox
|
||||||
features = side-by-side line-numbers decorations navigate
|
features = side-by-side line-numbers decorations navigate
|
||||||
|
|
||||||
[delta "line-numbers"]
|
[delta "line-numbers"]
|
||||||
line-numbers-left-style = cyan
|
line-numbers-left-style = cyan
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = master
|
defaultBranch = master
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
[alias]
|
[alias]
|
||||||
c = commit --verbose
|
c = commit --verbose
|
||||||
s = status -s
|
s = status -s
|
||||||
d = diff
|
d = diff
|
||||||
ds = diff --stat
|
ds = diff --stat
|
||||||
dc = diff --cached
|
dc = diff --cached
|
||||||
dn = diff --numstat
|
dn = diff --numstat
|
||||||
ss = status
|
ss = status
|
||||||
a = add
|
a = add
|
||||||
[push]
|
[push]
|
||||||
autoSetupRemote = true
|
autoSetupRemote = true
|
||||||
default = current
|
default = current
|
||||||
|
|
|
@ -1,90 +0,0 @@
|
||||||
# BACKGROUND
|
|
||||||
background {
|
|
||||||
monitor =
|
|
||||||
path = ~/wallpapers/green_leaves.jpg
|
|
||||||
blur_passes = 3
|
|
||||||
blur_size = 5
|
|
||||||
#contrast = 0.8916
|
|
||||||
#brightness = 0.8172
|
|
||||||
#vibrancy = 0.1696
|
|
||||||
#vibrancy_darkness = 0.0
|
|
||||||
}
|
|
||||||
|
|
||||||
# GENERAL
|
|
||||||
general {
|
|
||||||
# no_fade_in = true
|
|
||||||
hide_cursor = true
|
|
||||||
grace = 20
|
|
||||||
enable_fingerprint = true
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
# Time
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = $TIME
|
|
||||||
#text = cmd[update:1000] echo "<span>$(date +"%H:%M")</span>"
|
|
||||||
color = rgba(255, 255, 255, 1)
|
|
||||||
font_size = 200
|
|
||||||
font_family = Alfa Slab One
|
|
||||||
#position = -80, 230
|
|
||||||
position = -00, 50
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
text_align = center
|
|
||||||
}
|
|
||||||
# Time-Hour
|
|
||||||
#label {
|
|
||||||
#monitor =
|
|
||||||
#text = cmd[update:1000] echo "<span>$(date +"%H")</span>"
|
|
||||||
#color = rgba(255, 255, 255, 1)
|
|
||||||
#font_size = 200
|
|
||||||
#font_family = Alfa Slab One
|
|
||||||
#position = -80, 230
|
|
||||||
#halign = center
|
|
||||||
#valign = center
|
|
||||||
#}
|
|
||||||
|
|
||||||
## Time-Minute
|
|
||||||
#label {
|
|
||||||
#monitor =
|
|
||||||
#text = cmd[update:1000] echo "<span>$(date +"%M")</span>"
|
|
||||||
#color = rgba(142, 192, 124, 1)
|
|
||||||
#font_size = 200
|
|
||||||
#font_family = Alfa Slab One
|
|
||||||
#position = 10, 70
|
|
||||||
#halign = center
|
|
||||||
#valign = center
|
|
||||||
#}
|
|
||||||
|
|
||||||
# Day-Month-Date
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = cmd[update:1000] echo -e "$(date +"%A, %d %B")"
|
|
||||||
color = rgba(255, 255, 255, 1)
|
|
||||||
font_size = 22
|
|
||||||
font_family = Cascadia Code NF Bold
|
|
||||||
position = 0, -110
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
|
||||||
|
|
||||||
# INPUT FIELD
|
|
||||||
input-field {
|
|
||||||
monitor =
|
|
||||||
size = 250, 60
|
|
||||||
outline_thickness = 0
|
|
||||||
outer_color = rgba(21, 21, 21, 0.95)
|
|
||||||
dots_size = 0.1 # Scale of input-field height, 0.2 - 0.8
|
|
||||||
dots_spacing = 1 # Scale of dots' absolute size, 0.0 - 1.0
|
|
||||||
dots_center = true
|
|
||||||
inner_color = rgba(21, 21, 21, 0.95)
|
|
||||||
font_color = rgba(200, 200, 200, 1)
|
|
||||||
fade_on_empty = false
|
|
||||||
placeholder_text = <span face="Cascadia Code NF" foreground="##8da3b9"> $USER</span>
|
|
||||||
hide_input = false
|
|
||||||
position = 0, -200
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
zindex = 10
|
|
||||||
}
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
(defcfg
|
(defcfg
|
||||||
linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
||||||
;; fallthrough true
|
fallthrough true
|
||||||
)
|
)
|
||||||
|
|
||||||
(defsrc
|
(defsrc
|
||||||
|
@ -27,9 +27,9 @@
|
||||||
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
|
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup
|
||||||
@tab q w e r t @cy @cu @ci @co @cp [ + ret del end pgdn
|
@tab q w e r t @cy @cu @ci @co @cp [ + ret del end pgdn
|
||||||
@cps @ca @cs @cd @cf g @ch @cj @ck @cl @cscln ' \
|
@cps @ca @cs @cd @cf g @ch @cj k @cl scln ' \
|
||||||
lsft 102d z x c v b n m , . / rsft up
|
lsft 102d z x c v b n m , . / rsft up
|
||||||
lctl lmet lalt spc bspc ralt left down rght
|
lctl lmet lalt spc ralt ralt left down rght
|
||||||
)
|
)
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
|
@ -44,9 +44,7 @@
|
||||||
ch (chord chords h)
|
ch (chord chords h)
|
||||||
ci (chord chords i)
|
ci (chord chords i)
|
||||||
cj (chord chords j)
|
cj (chord chords j)
|
||||||
ck (chord chords k)
|
|
||||||
cl (chord chords l)
|
cl (chord chords l)
|
||||||
cscln (chord chords scln)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(defchords chords 100
|
(defchords chords 100
|
||||||
|
@ -62,52 +60,35 @@
|
||||||
(u) u
|
(u) u
|
||||||
(o) o
|
(o) o
|
||||||
(p) p
|
(p) p
|
||||||
(k) k
|
(y p) (macro = S-.)
|
||||||
(scln) scln
|
(u i o) @uml-u
|
||||||
;;(y p) (macro = S-.)
|
(i o p) @uml-o
|
||||||
(i o p) @uml-u
|
|
||||||
(k l scln) @uml-o
|
|
||||||
(a s d) @uml-a
|
(a s d) @uml-a
|
||||||
(s d f) @uml-s
|
(s d f) @uml-s
|
||||||
(u i o p) @uml-U
|
|
||||||
(j k l scln) @uml-O
|
|
||||||
(a s d f) @uml-A
|
|
||||||
|
|
||||||
(h j) (macro S-scln S-scln)
|
(h j) (macro S-scln S-scln)
|
||||||
;;(j i) (macro - S-.)
|
(j i) (macro - S-.)
|
||||||
(j l) C-bspc)
|
(j l) C-bspc)
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
tab tab
|
|
||||||
cps (tap-hold-release 200 200 esc (layer-toggle symbols))
|
cps (tap-hold-release 200 200 esc (layer-toggle symbols))
|
||||||
;;cps (tap-hold-release 200 200 esc lctrl)
|
tab (tap-hold-release 200 200 tab (layer-toggle umls))
|
||||||
;;tab (tap-hold-release 200 200 tab (layer-toggle symbols))
|
s-sft (tap-hold-release 150 150 s lsft)
|
||||||
;;tab (tap-hold-release 200 200 tab (layer-toggle umls))
|
l-sft (tap-hold-release 150 150 l lsft)
|
||||||
;;s-sft (tap-hold-release 150 150 s lsft)
|
|
||||||
;;l-sft (tap-hold-release 150 150 l lsft)
|
|
||||||
|
|
||||||
;;uml-a (macro ralt S-apos a)
|
|
||||||
;;uml-o (macro ralt S-apos o)
|
|
||||||
;;uml-u (macro ralt S-apos u)
|
|
||||||
;;uml-s (macro ralt s s)
|
|
||||||
uml-a (unicode ä)
|
|
||||||
uml-o (unicode ö)
|
|
||||||
uml-u (unicode ü)
|
|
||||||
uml-s (unicode ß)
|
|
||||||
uml-A (unicode Ä)
|
|
||||||
uml-O (unicode Ö)
|
|
||||||
uml-U (unicode Ü)
|
|
||||||
|
|
||||||
|
uml-a (macro ralt S-apos a)
|
||||||
|
uml-o (macro ralt S-apos o)
|
||||||
|
uml-u (macro ralt S-apos u)
|
||||||
|
uml-s (macro ralt s s)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(deflayer symbols
|
(deflayer symbols
|
||||||
lrld _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
_ _ S-1 S-apos / \ _ S-[ [ ] S-] _ S-8 _ _ _ _
|
_ _ S-1 S-apos / \ _ S-[ [ ] S-] _ S-8 _ _ _ _
|
||||||
_ home S-4 S-9 S-0 end left down up rght S-7 S-5 _
|
_ home S-4 S-9 S-0 end left down up rght S-7 S-5 _
|
||||||
_ _ S-\ del S-/ S-` _ = S-3 ralt _ _ _ _
|
_ _ S-\ del S-/ S-` _ = S-3 bspc _ _ _ _
|
||||||
_ _ _ _ _ _ _ _ _
|
_ _ _ _ _ _ _ _ _
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// vim:set ft=kdl:
|
|
||||||
input {
|
input {
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
|
@ -11,20 +10,13 @@ input {
|
||||||
}
|
}
|
||||||
touchpad {
|
touchpad {
|
||||||
dwt
|
dwt
|
||||||
dwtp
|
|
||||||
tap
|
tap
|
||||||
natural-scroll
|
natural-scroll
|
||||||
// accel-speed 0.2
|
// accel-speed 0.2
|
||||||
|
|
||||||
scroll-factor 0.7
|
|
||||||
}
|
}
|
||||||
mouse {
|
mouse {
|
||||||
accel-speed -0.1
|
accel-speed -0.1
|
||||||
}
|
}
|
||||||
trackpoint {
|
|
||||||
accel-speed -0.1
|
|
||||||
//accel-speed -0.1
|
|
||||||
}
|
|
||||||
//warp-mouse-to-focus
|
//warp-mouse-to-focus
|
||||||
focus-follows-mouse max-scroll-amount="20%"
|
focus-follows-mouse max-scroll-amount="20%"
|
||||||
|
|
||||||
|
@ -32,53 +24,38 @@ input {
|
||||||
}
|
}
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
xcursor-size 32 // {< rnum(if device.laptop() then 12 else 32) >}
|
|
||||||
xcursor-theme "phinger-cursors-light"
|
xcursor-theme "phinger-cursors-light"
|
||||||
|
xcursor-size 12
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
DISPLAY ":0"
|
DISPLAY ":0"
|
||||||
|
XDG_SESSION_TYPE "wayland"
|
||||||
|
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
||||||
// GDK_BACKEND "x11"
|
// GDK_BACKEND "x11"
|
||||||
}
|
}
|
||||||
|
|
||||||
// {% if device.thinkix() %}
|
output "DP-2" {
|
||||||
//<yolk> output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" {
|
mode "3440x1440@99.982"
|
||||||
//<yolk> mode "3440x1440@60"
|
//variable-refresh-rate
|
||||||
//<yolk> scale 1
|
scale 1
|
||||||
//<yolk> transform "normal"
|
transform "normal"
|
||||||
//<yolk> position x=0 y=0
|
position x=2560 y=0
|
||||||
//<yolk> }
|
//position x=1440 y=0
|
||||||
|
}
|
||||||
//<yolk> output "HDMI-A-1" {
|
|
||||||
//<yolk> mode "1920x1080"
|
|
||||||
//<yolk> scale 1
|
|
||||||
//<yolk> position x=0 y=0
|
|
||||||
//<yolk> //off
|
|
||||||
//<yolk> }
|
|
||||||
|
|
||||||
//<yolk> output "eDP-1" {
|
|
||||||
//<yolk> mode "1920x1080@60"
|
|
||||||
//<yolk> scale 1.0
|
|
||||||
//<yolk> transform "normal"
|
|
||||||
//<yolk> position x=0 y=1440
|
|
||||||
//<yolk> }
|
|
||||||
|
|
||||||
// {% end %}
|
|
||||||
|
|
||||||
//output "DP-4" {
|
|
||||||
//mode "2560x1440"
|
|
||||||
//scale 1
|
|
||||||
//position x=0 y=0
|
|
||||||
//off
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
|
output "HDMI-A-1" {
|
||||||
|
mode "2560x1440"
|
||||||
|
scale 1
|
||||||
|
position x=0 y=0
|
||||||
|
//transform "270"
|
||||||
|
}
|
||||||
|
|
||||||
layout {
|
layout {
|
||||||
gaps 16
|
gaps 16
|
||||||
// center-focused-column "always" // - "never", "always" "on-overflow"
|
// center-focused-column "always" // - "never", "always" "on-overflow"
|
||||||
center-focused-column "on-overflow" // - "never", "always" "on-overflow"
|
center-focused-column "on-overflow" // - "never", "always" "on-overflow"
|
||||||
// always-center-single-column
|
always-center-single-column
|
||||||
preset-column-widths {
|
preset-column-widths {
|
||||||
proportion 0.33333
|
proportion 0.33333
|
||||||
proportion 0.5
|
proportion 0.5
|
||||||
|
@ -87,30 +64,21 @@ layout {
|
||||||
|
|
||||||
default-column-width { proportion 0.33333; }
|
default-column-width { proportion 0.33333; }
|
||||||
focus-ring {
|
focus-ring {
|
||||||
width 2 // {< rnum(if device.laptop() then 1 else 2)>}
|
width 2
|
||||||
active-color "#8ec07c"
|
active-color "#8ec07c"
|
||||||
inactive-color "#1d2021"
|
inactive-color "#1d2021"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// {# if device.laptop() #}
|
|
||||||
//<yolk> spawn-at-startup "bash" "-c" "swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'swaylock -f' before-sleep 'swaylock -f' timeout 3600 'systemctl suspend' timeout 60000 'systemctl hibernate'"
|
|
||||||
spawn-at-startup "bash" "-c" "eww -c ~/.config/eww-bar open-many bar_1 niri_scroller"
|
spawn-at-startup "bash" "-c" "eww -c ~/.config/eww-bar open-many bar_1 niri_scroller"
|
||||||
spawn-at-startup "xwayland-satellite"
|
spawn-at-startup "xwayland-satellite"
|
||||||
spawn-at-startup "bash" "-c" "1password --silent"
|
spawn-at-startup "bash" "-c" "ELECTRON_OZONE_PLATFORM_HINT=auto 1password --silent"
|
||||||
spawn-at-startup "wl-paste" "--watch" "xclip -in -sel c"
|
spawn-at-startup "wl-paste" "--watch" "xclip -in -sel c"
|
||||||
spawn-at-startup "~/.config/niri/clipboardfix.sh"
|
spawn-at-startup "~/.config/niri/clipboardfix.sh"
|
||||||
spawn-at-startup "clipse -listen"
|
spawn-at-startup "clipse" "-listen"
|
||||||
spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
|
spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
|
||||||
spawn-at-startup "kdeconnect-indicator"
|
// spawn-at-startup "swaybg" "-m" "fill" "-i" "~/Pictures/wallpapers/green_leaves.jpg"
|
||||||
//
|
|
||||||
spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/wallpapers/green_leaves.jpg"
|
|
||||||
spawn-at-startup "waybar"
|
|
||||||
spawn-at-startup "~/.config/niri/clipsync watch with-notifications"
|
|
||||||
spawn-at-startup
|
|
||||||
//
|
|
||||||
prefer-no-csd
|
prefer-no-csd
|
||||||
|
|
||||||
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
||||||
|
@ -157,16 +125,12 @@ window-rule {
|
||||||
default-column-width { proportion 0.3333; }
|
default-column-width { proportion 0.3333; }
|
||||||
}
|
}
|
||||||
|
|
||||||
layer-rule {
|
|
||||||
match namespace="^notifications$"
|
|
||||||
block-out-from "screen-capture"
|
|
||||||
}
|
|
||||||
|
|
||||||
// Example: block out two password managers from screen capture.
|
// Example: block out two password managers from screen capture.
|
||||||
// (This example rule is commented out with a "/-" in front.)
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
window-rule {
|
window-rule {
|
||||||
match app-id=r#"1Password"#
|
match app-id=r#"1Password"#
|
||||||
match title=r#"[gG]mail"#
|
match title=r#"[gG]mail"#
|
||||||
|
match app-id=r#".*[mM]ako.*"#
|
||||||
match title=r#".*[Ww]hats[aA]pp.*$"#
|
match title=r#".*[Ww]hats[aA]pp.*$"#
|
||||||
// opacity 0.5
|
// opacity 0.5
|
||||||
|
|
||||||
|
@ -193,7 +157,7 @@ binds {
|
||||||
|
|
||||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||||
Mod+T { spawn "foot"; }
|
Mod+T { spawn "foot"; }
|
||||||
Mod+B { spawn "bash" "-c" "unset DISPLAY && google-chrome --ozone-platform-hint=auto --enable-features=VaapiVideoDecodeLinuxGL --enable-features=TouchpadOverscrollHistoryNavigation"; }
|
Mod+B { spawn "bash" "-c" "unset DISPLAY && google-chrome --enable-features=TouchpadOverscrollHistoryNavigation --enable-features=UseOzonePlatform --ozone-platform=wayland"; }
|
||||||
Mod+Shift+P { spawn "~/.config/rofi/launchers/type-2/launcher.sh"; }
|
Mod+Shift+P { spawn "~/.config/rofi/launchers/type-2/launcher.sh"; }
|
||||||
Mod+Shift+B { spawn "firefox"; }
|
Mod+Shift+B { spawn "firefox"; }
|
||||||
|
|
||||||
|
@ -204,9 +168,6 @@ binds {
|
||||||
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||||
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||||
|
|
||||||
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "set" "5%+"; }
|
|
||||||
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }
|
|
||||||
|
|
||||||
Mod+Shift+Q { close-window; }
|
Mod+Shift+Q { close-window; }
|
||||||
|
|
||||||
Mod+H { focus-column-or-monitor-left; }
|
Mod+H { focus-column-or-monitor-left; }
|
||||||
|
@ -250,10 +211,10 @@ binds {
|
||||||
Mod+Ctrl+U { move-workspace-down; }
|
Mod+Ctrl+U { move-workspace-down; }
|
||||||
Mod+Ctrl+I { move-workspace-up; }
|
Mod+Ctrl+I { move-workspace-up; }
|
||||||
|
|
||||||
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
Mod+Shift+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
||||||
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
Mod+Shift+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
||||||
Mod+Ctrl+Shift+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
|
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
|
||||||
Mod+Ctrl+Shift+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
|
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
|
||||||
// Mod+Ctrl+Shift+WheelScrollDown { scroll-viewport-left amount=0.1; }
|
// Mod+Ctrl+Shift+WheelScrollDown { scroll-viewport-left amount=0.1; }
|
||||||
// Mod+Ctrl+Shift+WheelScrollUp { scroll-viewport-right amount=0.1; }
|
// Mod+Ctrl+Shift+WheelScrollUp { scroll-viewport-right amount=0.1; }
|
||||||
|
|
||||||
|
@ -264,6 +225,13 @@ binds {
|
||||||
|
|
||||||
Mod+WheelScrollDown { focus-column-right; }
|
Mod+WheelScrollDown { focus-column-right; }
|
||||||
Mod+WheelScrollUp { focus-column-left; }
|
Mod+WheelScrollUp { focus-column-left; }
|
||||||
|
|
||||||
|
// Mod+Shift+WheelScrollDown { scroll-viewport-right-by-column; }
|
||||||
|
// Mod+Shift+WheelScrollUp { scroll-viewport-left-by-column; }
|
||||||
|
|
||||||
|
// Mod+Shift+WheelScrollDown { scroll-viewport-right-by-fraction amount=0.1; }
|
||||||
|
// Mod+Shift+WheelScrollUp { scroll-viewport-left-by-fraction amount=0.1; }
|
||||||
|
|
||||||
// Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
|
// Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
|
||||||
// Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
|
// Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
.config/niri/config.kdl
|
|
|
@ -88,7 +88,7 @@
|
||||||
:less {:validate true}
|
:less {:validate true}
|
||||||
:scss {:validate true}}})
|
:scss {:validate true}}})
|
||||||
|
|
||||||
(lsp.ts_ls.setup {:root_dir (lsp.util.root_pattern "package.json")
|
(lsp.tsserver.setup {:root_dir (lsp.util.root_pattern "package.json")
|
||||||
:on_attach (fn [client bufnr]
|
:on_attach (fn [client bufnr]
|
||||||
(set client.resolved_capabilities.document_formatting false)
|
(set client.resolved_capabilities.document_formatting false)
|
||||||
(on_attach client bufnr))})
|
(on_attach client bufnr))})
|
||||||
|
|
|
@ -126,7 +126,6 @@
|
||||||
(plugin :eraserhd/parinfer-rust {:build "cargo build --release"})
|
(plugin :eraserhd/parinfer-rust {:build "cargo build --release"})
|
||||||
(plugin :kmonad/kmonad-vim)
|
(plugin :kmonad/kmonad-vim)
|
||||||
(plugin :elkowar/yuck.vim {:ft ["yuck"]})
|
(plugin :elkowar/yuck.vim {:ft ["yuck"]})
|
||||||
(plugin :rhaiscript/vim-rhai {:ft ["rhai"]})
|
|
||||||
(plugin :cespare/vim-toml {:ft ["toml"]})
|
(plugin :cespare/vim-toml {:ft ["toml"]})
|
||||||
(plugin :bduggan/vim-raku {:ft ["raku"]})
|
(plugin :bduggan/vim-raku {:ft ["raku"]})
|
||||||
(plugin :LnL7/vim-nix {:ft ["nix"]})
|
(plugin :LnL7/vim-nix {:ft ["nix"]})
|
||||||
|
|
|
@ -1,286 +0,0 @@
|
||||||
// -*- mode: jsonc -*-
|
|
||||||
{
|
|
||||||
// "layer": "top", // Waybar at top layer
|
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
|
||||||
//"height": 24, // Waybar height (to be removed for auto height)
|
|
||||||
//"width": 24, // Waybar width
|
|
||||||
"spacing": 6, // Gaps between modules (4px)
|
|
||||||
"reload_style_on_change": true,
|
|
||||||
// Choose the order of the modules
|
|
||||||
"modules-left": [
|
|
||||||
"niri/workspaces",
|
|
||||||
"sway/workspaces",
|
|
||||||
"sway/mode",
|
|
||||||
"sway/scratchpad",
|
|
||||||
"custom/media"
|
|
||||||
],
|
|
||||||
"modules-center": [
|
|
||||||
"sway/window",
|
|
||||||
"clock",
|
|
||||||
"clock#date"
|
|
||||||
],
|
|
||||||
"modules-right": [
|
|
||||||
//"mpd",
|
|
||||||
//"idle_inhibitor",
|
|
||||||
"privacy",
|
|
||||||
//"network",
|
|
||||||
"cpu",
|
|
||||||
"memory",
|
|
||||||
"temperature",
|
|
||||||
"custom/display-scale",
|
|
||||||
"power-profiles-daemon",
|
|
||||||
"pulseaudio",
|
|
||||||
"backlight",
|
|
||||||
"keyboard-state",
|
|
||||||
"battery",
|
|
||||||
//"battery#bat2",
|
|
||||||
"tray",
|
|
||||||
"custom/power"
|
|
||||||
],
|
|
||||||
"niri/workspaces": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": {
|
|
||||||
// Named workspaces
|
|
||||||
// (you need to configure them in niri)
|
|
||||||
"browser": "",
|
|
||||||
"discord": "",
|
|
||||||
"chat": "<b></b>",
|
|
||||||
// Icons by state
|
|
||||||
//"focused": "◈",
|
|
||||||
"focused": "◆",
|
|
||||||
"active": "◆",
|
|
||||||
"default": "◆"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"privacy": {
|
|
||||||
"icon-spacing": 4,
|
|
||||||
"icon-size": 18,
|
|
||||||
"transition-duration": 250,
|
|
||||||
"modules": [
|
|
||||||
{
|
|
||||||
"type": "screenshare",
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-icon-size": 24
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "audio-out",
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-icon-size": 24
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "audio-in",
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-icon-size": 24
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
// Modules configuration
|
|
||||||
// "sway/workspaces": {
|
|
||||||
// "disable-scroll": true,
|
|
||||||
// "all-outputs": true,
|
|
||||||
// "warp-on-scroll": false,
|
|
||||||
// "format": "{name}: {icon}",
|
|
||||||
// "format-icons": {
|
|
||||||
// "1": "",
|
|
||||||
// "2": "",
|
|
||||||
// "3": "",
|
|
||||||
// "4": "",
|
|
||||||
// "5": "",
|
|
||||||
// "urgent": "",
|
|
||||||
// "focused": "",
|
|
||||||
// "default": ""
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
"keyboard-state": {
|
|
||||||
"numlock": true,
|
|
||||||
"capslock": true,
|
|
||||||
"format": "{name} {icon}",
|
|
||||||
"format-icons": {
|
|
||||||
"locked": "",
|
|
||||||
"unlocked": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"sway/scratchpad": {
|
|
||||||
"format": "{icon} {count}",
|
|
||||||
"show-empty": false,
|
|
||||||
"format-icons": [
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-format": "{app}: {title}"
|
|
||||||
},
|
|
||||||
"mpd": {
|
|
||||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
|
|
||||||
"format-disconnected": "Disconnected ",
|
|
||||||
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
|
||||||
"unknown-tag": "N/A",
|
|
||||||
"interval": 5,
|
|
||||||
"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}"
|
|
||||||
},
|
|
||||||
"clock#date": {
|
|
||||||
// "timezone": "America/New_York",
|
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
||||||
"format": "{:%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": "intel_backlight",
|
|
||||||
"format": "{percent}% {icon}",
|
|
||||||
"format-icons": [
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"on-scroll-up": "brightnessctl s 2%+",
|
|
||||||
"on-scroll-down": "brightnessctl s 2%-",
|
|
||||||
"on-click-right": "brightnessctl s 1%",
|
|
||||||
"on-click": "brightnessctl s 50%"
|
|
||||||
},
|
|
||||||
"battery": {
|
|
||||||
"states": {
|
|
||||||
// "good": 95,
|
|
||||||
"warning": 30,
|
|
||||||
"critical": 15
|
|
||||||
},
|
|
||||||
"format": "{capacity}% {icon}",
|
|
||||||
"format-full": "{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"
|
|
||||||
},
|
|
||||||
"power-profiles-daemon": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
|
||||||
"tooltip": true,
|
|
||||||
"format-icons": {
|
|
||||||
"default": "",
|
|
||||||
"performance": "",
|
|
||||||
"balanced": "",
|
|
||||||
"power-saver": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
||||||
"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/power": {
|
|
||||||
"format": "⏻",
|
|
||||||
"tooltip": false,
|
|
||||||
"menu": "on-click",
|
|
||||||
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
|
|
||||||
"menu-actions": {
|
|
||||||
"shutdown": "shutdown",
|
|
||||||
"reboot": "reboot",
|
|
||||||
"suspend": "systemctl suspend",
|
|
||||||
"hibernate": "systemctl hibernate"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"custom/display-scale": {
|
|
||||||
"format": "",
|
|
||||||
"on-click": "niri msg output eDP-1 scale 1.0",
|
|
||||||
"on-click-right": "niri msg output eDP-1 scale 1.25"
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,328 +0,0 @@
|
||||||
* {
|
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
|
||||||
font-family: Terminus, "Font awesome 6 Free", Helvetica, Arial, sans-serif;
|
|
||||||
/*font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
window.eDP-1 * { font-size: 10px; }
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background-color: #1d2021;
|
|
||||||
/*border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
|
|
||||||
color: #ebdbb2;
|
|
||||||
/*transition-property: background-color;*/
|
|
||||||
/*transition-duration: .5s;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
window .modules-right > * > * {
|
|
||||||
background-color: #282828;
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
window .modules-left, .modules-right, .modules-center {
|
|
||||||
margin: 3px 0;
|
|
||||||
}
|
|
||||||
window.eDP-1 .modules-left, window.eDP-1 .modules-right, window.eDP-1 .modules-center {
|
|
||||||
margin: 0px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
window#waybar.hidden {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button * {
|
|
||||||
padding: 0px 0px;
|
|
||||||
color: #ebdbb2;
|
|
||||||
font-size: 24px;
|
|
||||||
padding-top: 0px;
|
|
||||||
}
|
|
||||||
#workspaces button.empty * {
|
|
||||||
color: #928374
|
|
||||||
}
|
|
||||||
#workspaces button.active * {
|
|
||||||
color: #8ec07c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#window, #workspaces {
|
|
||||||
/*margin: 0 4px;*/
|
|
||||||
}
|
|
||||||
#workspaces * {
|
|
||||||
color: #ebdbb2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
|
||||||
.modules-left > widget:first-child > #workspaces {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-right > widget:last-child > * {
|
|
||||||
/*padding-right: 4px;*/
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#battery.charging, #battery.plugged {
|
|
||||||
color: #b8bb26;
|
|
||||||
/*background-color: #26A65B;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
/*background-color: #f53c3c;*/
|
|
||||||
color: #fb4934;
|
|
||||||
animation-name: blink;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-timing-function: steps(12);
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item {
|
|
||||||
padding: 0 5px;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item.screenshare {
|
|
||||||
background-color: #cf5700;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item.audio-in {
|
|
||||||
background-color: #1ca000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item.audio-out {
|
|
||||||
background-color: #0069d4;
|
|
||||||
}
|
|
||||||
|
|
||||||
#power-profiles-daemon {
|
|
||||||
min-width: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#power-profiles-daemon.performance {
|
|
||||||
background-color: #3c2525;
|
|
||||||
}
|
|
||||||
|
|
||||||
#power-profiles-daemon.balanced {
|
|
||||||
}
|
|
||||||
|
|
||||||
#power-profiles-daemon.power-saver {
|
|
||||||
background-color: #253125;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*button {*/
|
|
||||||
/*[> Use box-shadow instead of border so the text isn't offset <]*/
|
|
||||||
/*box-shadow: inset 0 -3px transparent;*/
|
|
||||||
/*[> Avoid rounded borders under each button name <]*/
|
|
||||||
/*border: none;*/
|
|
||||||
/*border-radius: 0;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*[> https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect <]*/
|
|
||||||
/*button:hover {*/
|
|
||||||
/*background: inherit;*/
|
|
||||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*[> you can set a style on hover for any module like this <]*/
|
|
||||||
/*#pulseaudio:hover {*/
|
|
||||||
/*background-color: #a37800;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#workspaces button {*/
|
|
||||||
/*padding: 0 5px;*/
|
|
||||||
/*background-color: transparent;*/
|
|
||||||
/*color: #ffffff;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#workspaces button:hover {*/
|
|
||||||
/*background: rgba(0, 0, 0, 0.2);*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#workspaces button.focused {*/
|
|
||||||
/*background-color: #64727D;*/
|
|
||||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#workspaces button.urgent {*/
|
|
||||||
/*background-color: #eb4d4b;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#mode {*/
|
|
||||||
/*background-color: #64727D;*/
|
|
||||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#clock,*/
|
|
||||||
/*#battery,*/
|
|
||||||
/*#cpu,*/
|
|
||||||
/*#memory,*/
|
|
||||||
/*#disk,*/
|
|
||||||
/*#temperature,*/
|
|
||||||
/*#backlight,*/
|
|
||||||
/*#network,*/
|
|
||||||
/*#pulseaudio,*/
|
|
||||||
/*#wireplumber,*/
|
|
||||||
/*#custom-media,*/
|
|
||||||
/*#tray,*/
|
|
||||||
/*#mode,*/
|
|
||||||
/*#idle_inhibitor,*/
|
|
||||||
/*#scratchpad,*/
|
|
||||||
/*#power-profiles-daemon,*/
|
|
||||||
/*#mpd {*/
|
|
||||||
/*padding: 0 5px;*/
|
|
||||||
/*color: #ebdbb2;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*label:focus {*/
|
|
||||||
/*background-color: #000000;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#cpu {*/
|
|
||||||
/*background-color: #2ecc71;*/
|
|
||||||
/*color: #000000;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#memory {*/
|
|
||||||
/*background-color: #9b59b6;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#disk {*/
|
|
||||||
/*background-color: #964B00;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#backlight {*/
|
|
||||||
/*background-color: #90b1b1;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#network {*/
|
|
||||||
/*background-color: #2980b9;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#network.disconnected {*/
|
|
||||||
/*background-color: #f53c3c;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#pulseaudio {*/
|
|
||||||
/*background-color: #f1c40f;*/
|
|
||||||
/*color: #000000;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#pulseaudio.muted {*/
|
|
||||||
/*background-color: #90b1b1;*/
|
|
||||||
/*color: #2a5c45;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#wireplumber {*/
|
|
||||||
/*background-color: #fff0f5;*/
|
|
||||||
/*color: #000000;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#wireplumber.muted {*/
|
|
||||||
/*background-color: #f53c3c;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#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: #f0932b;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#temperature.critical {*/
|
|
||||||
/*background-color: #eb4d4b;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#tray {*/
|
|
||||||
/*background-color: #2980b9;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#tray > .passive {*/
|
|
||||||
/*-gtk-icon-effect: dim;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#tray > .needs-attention {*/
|
|
||||||
/*-gtk-icon-effect: highlight;*/
|
|
||||||
/*background-color: #eb4d4b;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#idle_inhibitor {*/
|
|
||||||
/*background-color: #2d3436;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#idle_inhibitor.activated {*/
|
|
||||||
/*background-color: #ecf0f1;*/
|
|
||||||
/*color: #2d3436;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#mpd {*/
|
|
||||||
/*background-color: #66cc99;*/
|
|
||||||
/*color: #2a5c45;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#mpd.disconnected {*/
|
|
||||||
/*background-color: #f53c3c;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#mpd.stopped {*/
|
|
||||||
/*background-color: #90b1b1;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#mpd.paused {*/
|
|
||||||
/*background-color: #51a37a;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#language {*/
|
|
||||||
/*background: #00b093;*/
|
|
||||||
/*color: #740864;*/
|
|
||||||
/*padding: 0 5px;*/
|
|
||||||
/*margin: 0 5px;*/
|
|
||||||
/*min-width: 16px;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#keyboard-state {*/
|
|
||||||
/*background: #97e1ad;*/
|
|
||||||
/*color: #000000;*/
|
|
||||||
/*padding: 0 0px;*/
|
|
||||||
/*margin: 0 5px;*/
|
|
||||||
/*min-width: 16px;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#keyboard-state > label {*/
|
|
||||||
/*padding: 0 5px;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#keyboard-state > label.locked {*/
|
|
||||||
/*background: rgba(0, 0, 0, 0.2);*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#scratchpad {*/
|
|
||||||
/*background: rgba(0, 0, 0, 0.2);*/
|
|
||||||
/*}*/
|
|
||||||
|
|
||||||
/*#scratchpad.empty {*/
|
|
||||||
/*background-color: transparent;*/
|
|
||||||
/*}*/
|
|
||||||
|
|
17
yolk.lua
17
yolk.lua
|
@ -1,11 +1,6 @@
|
||||||
data = {
|
function canonical_data()
|
||||||
}
|
return {}
|
||||||
|
end
|
||||||
device = {
|
function local_data(system)
|
||||||
thinkix = function()
|
return canonical_data()
|
||||||
return SYSTEM.hostname == "thinkix"
|
end
|
||||||
end,
|
|
||||||
laptop = function()
|
|
||||||
return SYSTEM.hostname == "thinkix" or SYSTEM.hostname == "frissnix"
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue