cleanup
This commit is contained in:
parent
1165454fc3
commit
c7cb20b7be
16 changed files with 191 additions and 378 deletions
|
@ -126,6 +126,7 @@
|
|||
XCURSOR_SIZE = 32;
|
||||
XCURSOR_THEME = "Bibata-Modern-Classic";
|
||||
DISPLAY = ":0";
|
||||
WAYLAND_DISPLAY="wayland-1";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
* {
|
||||
all: unset; // Unsets everything so you can style everything from scratch
|
||||
}
|
||||
|
||||
// Global Styles
|
||||
.bar {
|
||||
background-color: rgba(0,0,0,0);
|
||||
color: #b0b4bc;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
// Styles on classes (see eww.yuck for more information)
|
||||
|
||||
.sidestuff slider {
|
||||
all: unset;
|
||||
color: #ffd5cd;
|
||||
}
|
||||
|
||||
.metric scale trough highlight {
|
||||
all: unset;
|
||||
background-color: #D35D6E;
|
||||
color: #000000;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.metric scale trough {
|
||||
all: unset;
|
||||
background-color: #4e4e4e;
|
||||
border-radius: 50px;
|
||||
min-height: 3px;
|
||||
min-width: 50px;
|
||||
margin-left: 10px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.label-ram {
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.workspaces button:hover {
|
||||
color: #D35D6E;
|
||||
}
|
|
@ -1,70 +0,0 @@
|
|||
(defwidget bar []
|
||||
(centerbox :orientation "h"
|
||||
(time)
|
||||
(workspaces)
|
||||
(music)
|
||||
(sidestuff)))
|
||||
|
||||
(defwidget sidestuff []
|
||||
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
|
||||
(metric :label "🔊"
|
||||
:value volume
|
||||
:onchange "amixer -D pulse sset Master {}%")
|
||||
(metric :label ""
|
||||
:value {EWW_RAM.used_mem_perc}
|
||||
:onchange "")
|
||||
(metric :label "💾"
|
||||
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
|
||||
:onchange "")
|
||||
))
|
||||
|
||||
(defwidget workspaces []
|
||||
(box :class "workspaces"
|
||||
:orientation "h"
|
||||
:space-evenly true
|
||||
:halign "start"
|
||||
:spacing 10
|
||||
(button :onclick "wmctrl -s 0" 1)
|
||||
(button :onclick "wmctrl -s 1" 2)
|
||||
(button :onclick "wmctrl -s 2" 3)
|
||||
(button :onclick "wmctrl -s 3" 4)
|
||||
(button :onclick "wmctrl -s 4" 5)
|
||||
(button :onclick "wmctrl -s 5" 6)
|
||||
(button :onclick "wmctrl -s 6" 7)
|
||||
(button :onclick "wmctrl -s 7" 8)
|
||||
(button :onclick "wmctrl -s 8" 9)))
|
||||
|
||||
(defwidget music []
|
||||
(box :class "music"
|
||||
:orientation "h"
|
||||
:space-evenly false
|
||||
:halign "center"
|
||||
{music != "" ? "🎵${music}" : ""}))
|
||||
|
||||
|
||||
(defwidget metric [label value onchange]
|
||||
(box :orientation "h"
|
||||
:class "metric"
|
||||
:space-evenly false
|
||||
(box :class "label" label)
|
||||
(scale :min 0
|
||||
:max 101
|
||||
:active {onchange != ""}
|
||||
:value value
|
||||
:onchange onchange)))
|
||||
|
||||
(deflisten music :initial ""
|
||||
"playerctl --follow metadata --format '{{ artist }} - {{ title }}' || true")
|
||||
|
||||
(defpoll time :interval "10s"
|
||||
"date '+%H:%M %b %d, %Y'")
|
||||
|
||||
(defwindow bar
|
||||
:monitor 0
|
||||
:windowtype "dock"
|
||||
:geometry (geometry :x "0%"
|
||||
:y "0%"
|
||||
:width "99%"
|
||||
:height "10px"
|
||||
:anchor "top center")
|
||||
(bar))
|
|
@ -1,18 +0,0 @@
|
|||
function _maestral_completion;
|
||||
set -l response (env _MAESTRAL_COMPLETE=fish_complete COMP_WORDS=(commandline -cp) COMP_CWORD=(commandline -t) maestral);
|
||||
|
||||
for completion in $response;
|
||||
set -l metadata (string split "," $completion);
|
||||
|
||||
if test $metadata[1] = "dir";
|
||||
__fish_complete_directories $metadata[2];
|
||||
else if test $metadata[1] = "file";
|
||||
__fish_complete_path $metadata[2];
|
||||
else if test $metadata[1] = "plain";
|
||||
echo $metadata[2];
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
complete --no-files --command maestral --arguments "(_maestral_completion)";
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
function nixgcboot --description 'fix full boot'
|
||||
sudo nixos-rebuild boot --flake ~/source/nixos-config/#eddie $argv
|
||||
end
|
|
@ -1,41 +0,0 @@
|
|||
command = /home/emenel/.nix-profile/bin/fish --login --interactive
|
||||
shell-integration = fish
|
||||
shell-integration-features = true
|
||||
|
||||
theme = Adventure
|
||||
|
||||
font-family = "JetBrains Mono"
|
||||
font-size = 12
|
||||
background = 111111
|
||||
selection-foreground = ffffff
|
||||
selection-background = 444444
|
||||
bold-is-bright = true
|
||||
cursor-style = bar
|
||||
adjust-cursor-thickness = 2
|
||||
resize-overlay = never
|
||||
cursor-click-to-move = true
|
||||
|
||||
clipboard-paste-protection = true
|
||||
|
||||
keybind = ctrl+t=new_tab
|
||||
keybind = ctrl+w=close_surface
|
||||
keybind = ctrl+enter=new_split:down
|
||||
keybind = ctrl+shift+enter=new_split:right
|
||||
keybind = ctrl+alt+enter=equalize_splits
|
||||
keybind = ctrl+alt+z=toggle_split_zoom
|
||||
keybind = ctrl+alt+left=previous_tab
|
||||
keybind = ctrl+alt+right=next_tab
|
||||
keybind = ctrl+alt+up=goto_split:left
|
||||
keybind = ctrl+alt+down=goto_split:right
|
||||
keybind = ctrl+backspace=text:\x1b\x7f
|
||||
# keybind = ctrl+shift+k=clear_screen
|
||||
|
||||
# disabled bindings for testing zellij
|
||||
# keybind = ctrl+t=unbind
|
||||
# keybind = ctrl+w=unbind
|
||||
# keybind = ctrl+alt+right=unbind
|
||||
# keybind = ctrl+alt+left=unbind
|
||||
# keybind = ctrl+alt+up=unbind
|
||||
# keybind = ctrl+alt+down=unbind
|
||||
# keybind = ctrl+enter=unbind
|
||||
# keybind = ctrl+shift+enter=unbind
|
|
@ -1,5 +0,0 @@
|
|||
[files-provider]
|
||||
list_cmd=
|
||||
preview_cmd=
|
||||
launch_cmd=
|
||||
purge_cmd=
|
|
@ -1,133 +0,0 @@
|
|||
{
|
||||
"modules-left": [
|
||||
"clock",
|
||||
"niri/workspaces",
|
||||
"mpris"
|
||||
],
|
||||
"modules-right": [
|
||||
"wlr/taskbar",
|
||||
"tray",
|
||||
"cpu",
|
||||
"memory",
|
||||
"network",
|
||||
"wireplumber",
|
||||
"power-profiles-daemon",
|
||||
"upower",
|
||||
"idle_inhibitor",
|
||||
"custom/notification",
|
||||
],
|
||||
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format-activated": "idle inhibitor: {status}",
|
||||
"tooltip-format-deactivated": "idle inhibitor: {status}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"default": "?",
|
||||
"performance": "",
|
||||
"balanced": "",
|
||||
"power-saver": ""
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": "{used:0.1f}G/{total:0.1f}G ",
|
||||
"on-click": "$HOME/.local/bin/wezapp btop"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": "{}% ",
|
||||
"max-length": 10,
|
||||
"on-click": "$HOME/.local/bin/wezapp btop"
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{essid} {ifname}",
|
||||
"max-length": 50,
|
||||
"on-click": "$HOME/.local/bin/wezlauncher nmtui",
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a %d %b %Y %I:%M}",
|
||||
"on-click": "gnome-calendar",
|
||||
"tooltip": false,
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
"on-click": "helvum",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"mpris": {
|
||||
"dynamic-order": ["title", "artist", "album", "length"],
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"dynamic-len": 75,
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 20,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
},
|
||||
"ignore-list": [
|
||||
"Signal"
|
||||
],
|
||||
"rewrite": {
|
||||
"Firefox Web Browser": "Firefox",
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"main": "",
|
||||
"scratchpad": "",
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
prefix=~/.npm-packages
|
Loading…
Add table
Add a link
Reference in a new issue