aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/lf/lfrc4
-rw-r--r--dotfiles/.config/niri/config.kdl64
-rw-r--r--dotfiles/.config/waybar/config221
-rw-r--r--dotfiles/.config/waybar/modules.json181
-rw-r--r--dotfiles/.config/waybar/style.css92
-rwxr-xr-xdotfiles/.local/bin/barweather2
-rwxr-xr-xdotfiles/.local/bin/menumako2
-rw-r--r--dotfiles/.local/share/oculante/config.json154
8 files changed, 436 insertions, 284 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc
index 4069f05..72d39c7 100644
--- a/dotfiles/.config/lf/lfrc
+++ b/dotfiles/.config/lf/lfrc
@@ -149,7 +149,7 @@ map i push A<a-b><a-b><a-f> # rename before extention
map a push A<a-b> # rename after extention
map <c-n> push :mkdir<space>
map <c-t> push :$touch<space>
-map <c-r> reload
+map r reload
map <enter> shell
map D delete
map <enter> shell
@@ -162,7 +162,7 @@ map Y :yank-path
map L $LESSOPEN='| ~/.local/bin/scope %s' less -r $f # open file preview in pager
map P hard_link
map <a-p> soft_link
-map r archive
+map R archive
# Mouse bindings
map <m-3> :dragon
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl
index f3eb4db..a34902d 100644
--- a/dotfiles/.config/niri/config.kdl
+++ b/dotfiles/.config/niri/config.kdl
@@ -76,7 +76,7 @@ output "eDP-1" {
// Uncomment this line to disable this output.
// off
- background-color "#000000"
+ // background-color "#000000"
// Resolution and, optionally, refresh rate of the output.
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
@@ -106,11 +106,16 @@ output "eDP-1" {
}
output "DP-1" {
- background-color "#000000"
+ // background-color "#000000"
position x=1536 y=0
//mode "2560x1440@165.000"
}
+overview {
+ zoom 0.4
+ backdrop-color "#00807F"
+}
+
// Settings that influence how windows are positioned and sized.
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
@@ -118,6 +123,8 @@ layout {
// Set gaps around windows in logical pixels.
gaps 5
+ background-color "#00000000"
+
// When to center a column when changing focus, options are:
// - "never", default behavior, focusing an off-screen column will keep at the left
// or right edge of the screen.
@@ -259,10 +266,24 @@ layout {
active-color "#99d0b5"
// inactive-color "gray"
active-gradient from="#1f5c9a" to="#99d0b5" angle=180
- inactive-gradient from="#252832" to="#676775" angle=180
+ inactive-gradient from="#000000" to="#252832" angle=180
}
}
+gestures {
+ dnd-edge-view-scroll {
+ trigger-width 200
+ delay-ms 200
+ max-speed 4000
+ }
+
+ dnd-edge-workspace-switch {
+ trigger-height 100
+ delay-ms 200
+ max-speed 4000
+ }
+}
+
// Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use.
@@ -403,7 +424,10 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return { spawn "alacritty"; }
- Mod+D { spawn "rofi" "-show" "drun" "-sidebar-mode" "-modi" "drun,run,filebrowser,ssh,combi"; }
+ Mod+D {
+ spawn "rofi" "-show" "drun" "-sidebar-mode" "-modi" "window,drun,run,ssh,filebrowser";
+ }
+ Mod+S { toggle-overview; }
Mod+X { spawn "lock-color"; }
Mod+Shift+X { spawn "lock-color" "screenon"; }
@@ -516,22 +540,22 @@ binds {
// To avoid scrolling through workspaces really fast, you can use
// the cooldown-ms property. The bind will be rate-limited to this value.
// You can set a cooldown on any bind, but it's most useful for the wheel.
- Mod+WheelScrollDown cooldown-ms=200 { focus-workspace-down; }
- Mod+WheelScrollUp cooldown-ms=200 { focus-workspace-up; }
- Mod+Ctrl+WheelScrollDown cooldown-ms=200 { move-column-to-workspace-down; }
- Mod+Ctrl+WheelScrollUp cooldown-ms=200 { move-column-to-workspace-up; }
+ Mod+WheelScrollDown { focus-workspace-down; }
+ Mod+WheelScrollUp { focus-workspace-up; }
+ Mod+Ctrl+WheelScrollDown { move-column-to-workspace-down; }
+ Mod+Ctrl+WheelScrollUp { move-column-to-workspace-up; }
- Mod+WheelScrollRight cooldown-ms=200 { focus-column-right; }
- Mod+WheelScrollLeft cooldown-ms=200 { focus-column-left; }
- Mod+Ctrl+WheelScrollRight cooldown-ms=200 { move-column-right; }
- Mod+Ctrl+WheelScrollLeft cooldown-ms=200 { move-column-left; }
+ Mod+WheelScrollRight { focus-column-right; }
+ Mod+WheelScrollLeft { focus-column-left; }
+ Mod+Ctrl+WheelScrollRight { move-column-right; }
+ Mod+Ctrl+WheelScrollLeft { move-column-left; }
// Usually scrolling up and down with Shift in applications results in
// horizontal scrolling; these binds replicate that.
- Mod+Shift+WheelScrollDown cooldown-ms=200 { focus-column-right; }
- Mod+Shift+WheelScrollUp cooldown-ms=200 { focus-column-left; }
- Mod+Ctrl+Shift+WheelScrollDown cooldown-ms=200 { move-column-right; }
- Mod+Ctrl+Shift+WheelScrollUp cooldown-ms=200 { move-column-left; }
+ Mod+Shift+WheelScrollDown { focus-column-right; }
+ Mod+Shift+WheelScrollUp { focus-column-left; }
+ Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
+ Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
// Similarly, you can bind touchpad scroll "ticks".
// Touchpad scrolling is continuous, so for these binds it is split into
@@ -610,12 +634,12 @@ binds {
// * adjust width as a percentage of screen width: "-10%" or "+10%"
// Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0,
// set-column-width "100" will make the column occupy 200 physical screen pixels.
- Mod+Minus { set-column-width "-10%"; }
- Mod+Equal { set-column-width "+10%"; }
+ Mod+Minus { set-column-width "-5%"; }
+ Mod+Equal { set-column-width "+5%"; }
// Finer height adjustments when in column with other windows.
- Mod+Shift+Minus { set-window-height "-10%"; }
- Mod+Shift+Equal { set-window-height "+10%"; }
+ Mod+Shift+Minus { set-window-height "-5%"; }
+ Mod+Shift+Equal { set-window-height "+5%"; }
// Switch between floating and tiling.
Mod+Shift+Space { toggle-window-floating; }
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 216120f..403da07 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -1,225 +1,28 @@
// vim: filetype=json
-{
+[{
"layer": "top",
- "height": 36,
+ "height": 34,
+ "include": [ "~/.config/waybar/modules.json" ],
"modules-left": [
- "sway/workspaces",
+ "clock",
"niri/workspaces",
- "sway/mode",
- "custom/waybar-mpris",
- "pulseaudio"
+ "mpris",
+ "wireplumber"
],
"modules-center": [
- "clock",
- "custom/weather"
],
"modules-right": [
- "custom/rec-status",
- "custom/swaykbd",
+ "custom/weather",
"custom/mail-status",
+ "cpu",
"memory",
"backlight",
"battery#bat0",
"battery#bat1",
"custom/batwatt",
+ "custom/torrent-status",
"network",
"niri/language",
- "custom/torrent-status",
- "tray"
- ],
- "sway/mode": {
- "format": "<span style=\"italic\">{}</span>"
- },
- "custom/waybar-mpris": {
- "return-type": "json",
- "exec": "waybar-mpris --autofocus --text-format=\"%i [%p] %a - %t\" --tooltip-format=\"%t by %a from %A\n%p/%d\n(%P)\" --pause='<span color=\"#5b8277\"></span>' --play='' --max-title 30",
- "on-click": "lmc toggle",
- "on-click-right": "lmc next",
- "max-length": 80
- },
- "mpd": {
- "format": " {stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon} [{elapsedTime:%M:%S}] {artist} - {title}",
- "format-disconnected": " Connection lost ",
- "format-stopped": "  {consumeIcon}{randomIcon}{repeatIcon}{singleIcon} [--:--] -- - --",
- "unknown-tag": "N/A",
- "interval": 2,
- "max-length": 60,
- "consume-icons": {
- "on": " "
- },
- "random-icons": {
- "on": ""
- },
- "repeat-icons": {
- "on": " "
- },
- "single-icons": {
- "on": "[s]"
- },
- "state-icons": {
- "paused": "<span color=\"#b2872f\"></span>",
- "playing": "<span color=\"#5b8277\"></span>"
- },
- "tooltip-format": "MPD now playing: {artist} - {title}",
- "tooltip-format-disconnected": "MPD disconnected"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- "icon-size": 16,
- "spacing": 10
- },
- "clock": {
- "format": "{:%Y年%m月%d日 %H:%M:%S}",
- "tooltip-format": "{calendar}",
- "calendar": {
- "mode": "year",
- "mode-mon-col": 3
- },
- "interval": 1
- },
- "cpu": {
- "format": "{usage}% ",
- "tooltip": false
- },
- "memory": {
- "format": "<span color=\"#5b8277\"></span> {used:0.3f}G",
- "states": {
- "warning": 90
- },
- "interval": 10
- },
- "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": "<span color=\"#5b8277\">{icon}</span> {percent}%",
- "format-icons": ["", ""]
- },
- "battery#bat0": {
- "bat": "BAT0",
- "format": "{icon} {capacity}%",
- "format-charging": " <span color=\"#5b8277\"></span> {capacity}%",
- "format-plugged": "<span color=\"#5b8277\"></span> {capacity}%",
- "format-icons": [
- "<span color=\"#b73030\"></span>",
- "<span color=\"#b2872f\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>"
- ]
- },
- "battery#bat1": {
- "bat": "BAT1",
- "format": "{icon} {capacity}%",
- "format-charging": " <span color=\"#5b8277\"></span> {capacity}%",
- "format-plugged": "<span color=\"#5b8277\"></span> {capacity}%",
- "format-icons": [
- "<span color=\"#b73030\"></span>",
- "<span color=\"#b2872f\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>",
- "<span color=\"#5b8277\"></span>"
- ]
- },
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "<span color=\"#5b8277\"></span> {essid}",
- "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
- "format-linked": "<span color=\"#5b8277\"></span> {ifname}",
- "format-disconnected": " disconnected",
- "format-alt": "{ifname}: {ipaddr}/{cidr}",
- "tooltip-format": "{ifname}: {ipaddr}/{cidr}"
- },
- "pulseaudio": {
- "scroll-step": 2, // %, can be a float
- "format": "<span color=\"#5b8277\">{icon}</span> {volume}%",
- "format-bluetooth": "<span color=\"#5b8277\">{icon}</span> {volume}% {format_source}",
- "format-muted": "<span color=\"#b2872f\"></span>",
- "format-source": "{volume}% ",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "handsfree": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "$TERMINAL -e ncpamixer"
- },
- "custom/rec-status": {
- "format": "<span color=\"#5b8277\">{}</span>",
- "signal": 5,
- "interval": "once",
- "exec": "barrecstatus"
- },
- "custom/torrent-status": {
- "format": "<span color=\"#5b8277\">{}</span>",
- "signal": 10,
- "interval": "once",
- "exec": "bartorrentstatus"
- },
- "custom/mail-status": {
- "format": "<span color=\"#5b8277\">📧</span> {}",
- "signal": 9,
- "interval": "once",
- "exec": "barmailstatus",
- "tooltip": false
- },
- "custom/pac-status": {
- "format": "<span color=\"#5b8277\"></span> {}",
- "signal": 7,
- "interval": "once",
- "exec": "barpacstatus"
- },
- "custom/news-status": {
- "format": "<span color=\"#5b8277\"></span> {}",
- "signal": 8,
- "interval": "once",
- "exec": "barnewsstatus",
- "tooltip": false
- },
- "custom/weather": {
- "format": "{}",
- "interval": 180,
- "exec": "barweather"
- },
- "custom/ds4battery": {
- "format": "🎮 {}",
- "interval": 180,
- "exec": "bards4battery"
- },
- "custom/batwatt": {
- "return-type": "json",
- "interval": 10,
- "exec-if": "test -e /sys/class/power_supply/BAT0",
- "exec": "barbatwatt",
- "exec-on-event": true,
- "on-click": ""
- },
- "custom/swaykbd": {
- "format": "{}",
- "exec": "swaykbd",
- "tooltip": false
- },
- "niri/language": {
- "on-click": "niri msg action switch-layout next",
- "on-click-right": "niri msg action switch-layout prev",
- "format-en": " 🇺🇸 EN ",
- "format-es": " 🇲🇽 ES ",
- "format-ru": " 🇷🇺 RU "
- }
-}
+ "tray",
+ ]
+}]
diff --git a/dotfiles/.config/waybar/modules.json b/dotfiles/.config/waybar/modules.json
new file mode 100644
index 0000000..7f0f591
--- /dev/null
+++ b/dotfiles/.config/waybar/modules.json
@@ -0,0 +1,181 @@
+{
+ "sway/mode": {
+ "format": "<span style=\"italic\">{}</span>"
+ },
+ "mpris": {
+ "format": "{status_icon} {artist} - {title}",
+ "format-stopped": "{status_icon} - ",
+ "status-icons": {
+ "stopped": "<span color=\"#d6cda3\"></span>",
+ "paused": "<span color=\"#d6cda3\"></span>",
+ "playing": "<span color=\"#5b8277\"></span>"
+ },
+ "artist-len": 20,
+ "title-len": 30
+ },
+ "tray": {
+ "icon-size": 16,
+ "spacing": 10
+ },
+ "clock": {
+ "locale": "ja_JP.UTF-8",
+ "format": "<span font='Sarasa Mono J' weight='600'>{:L%Y年%m月%d日(%a)%H:%M:%S}</span>",
+ "format-alt": "<span font='Sarasa Mono J' weight='600'>{:%H:%M:%S}</span>",
+ "tooltip-format": "<span font='Sarasa Mono J'>{calendar}</span>",
+ "calendar": {
+ "mode": "month",
+ "on-scroll": 1,
+ "format": {
+ "months": "<span size='13pt' weight='600'>{}</span>",
+ "weekdays": "{}",
+ "today": "<span color=\"#b73030\"><b>{}</b></span>"
+ }
+ },
+ "actions": {
+ "on-scroll-up": "shift_up",
+ "on-scroll-down": "shift_down"
+ },
+ "interval": 1
+ },
+ "cpu": {
+ "format": "<span color=\"#d6cda3\"></span> {usage}%",
+ "interval": 3
+ },
+ "memory": {
+ "format": "<span color=\"#d6cda3\"></span> {used:0.3f}G",
+ "states": {
+ "warning": 90
+ },
+ "interval": 10
+ },
+ "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": "<span color=\"#d6cda3\">{icon}</span> {percent}%",
+ "format-icons": ["", ""]
+ },
+ "battery#bat0": {
+ "bat": "BAT0",
+ "format": "{icon} {capacity}%",
+ "format-charging": "<span color=\"#5b8277\"></span> {capacity}%",
+ "format-plugged": "<span color=\"#5b8277\"></span> {capacity}%",
+ "format-icons": [
+ "<span color=\"#b73030\"></span>",
+ "<span color=\"#b2872f\"></span>",
+ "<span color=\"#5b8277\"></span>",
+ "<span color=\"#5b8277\"></span>",
+ "<span color=\"#5b8277\"></span>"
+ ]
+ },
+ "battery#bat1": {
+ "bat": "BAT1",
+ "format": "{icon} {capacity}%",
+ "format-charging": "<span color=\"#5b8277\"></span> {capacity}%",
+ "format-plugged": "<span color=\"#5b8277\"></span> {capacity}%",
+ "format-icons": [
+ "<span color=\"#b73030\"></span>",
+ "<span color=\"#b2872f\"></span>",
+ "<span color=\"#5b8277\"></span>",
+ "<span color=\"#5b8277\"></span>",
+ "<span color=\"#5b8277\"></span>"
+ ]
+ },
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "format-wifi": "<span color=\"#5b8277\"></span>",
+ "format-ethernet": "<span color=\"#5b8277\">󰌘</span>",
+ "format-linked": "<span color=\"#b2872f\">󰲊</span>",
+ "format-disconnected": "<span color=\"#b2872f\">󰌙</span>",
+ "format-disabled": "<span color=\"#b73030\">󰌙</span>",
+ "format-alt": "<span color=\"#d6cda3\">󰌘</span> {ifname}: {bandwidthUpBits}<span color=\"#d6cda3\"></span> {bandwidthDownBits}<span color=\"#d6cda3\"></span>",
+ "tooltip-format": "{ifname}: {essid} {ipaddr}/{cidr} {bandwidthUpBits}<span color=\"#d6cda3\"></span> {bandwidthDownBits}<span color=\"#d6cda3\"></span>",
+ "interval": 3
+ },
+ "wireplumber": {
+ "scroll-step": 2, // %, can be a float
+ "format": "<span color=\"#5b8277\">{icon}</span> {volume}%",
+ "format-bluetooth": "<span color=\"#5b8277\">{icon}</span> {volume}% {format_source}",
+ "format-muted": "<span color=\"#b2872f\"></span>",
+ "format-source": "{volume}% ",
+ "format-source-muted": "",
+ "format-icons": {
+ "headphone": "",
+ "handsfree": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", ""]
+ },
+ "on-click": "$TERMINAL -e ncpamixer"
+ },
+ "custom/rec-status": {
+ "format": "<span color=\"#5b8277\">{}</span>",
+ "signal": 5,
+ "interval": "once",
+ "exec": "barrecstatus"
+ },
+ "custom/torrent-status": {
+ "format": "<span color=\"#d6cda3\">{}</span>",
+ "signal": 10,
+ "interval": "once",
+ "exec": "bartorrentstatus"
+ },
+ "custom/mail-status": {
+ "format": "<span color=\"#d6cda3\">󰺻 </span>{}",
+ "signal": 9,
+ "interval": "once",
+ "exec": "barmailstatus",
+ "tooltip": false
+ },
+ "custom/pac-status": {
+ "format": " {}",
+ "signal": 7,
+ "interval": "once",
+ "exec": "barpacstatus"
+ },
+ "custom/news-status": {
+ "format": " {}",
+ "signal": 8,
+ "interval": "once",
+ "exec": "barnewsstatus",
+ "tooltip": false
+ },
+ "custom/weather": {
+ "format": "{}",
+ "interval": 180,
+ "exec": "barweather"
+ },
+ "custom/ds4battery": {
+ "format": "🎮 {}",
+ "interval": 180,
+ "exec": "bards4battery"
+ },
+ "custom/batwatt": {
+ "return-type": "json",
+ "interval": 10,
+ "exec-if": "test -e /sys/class/power_supply/BAT0",
+ "exec": "barbatwatt",
+ "exec-on-event": true,
+ "on-click": ""
+ },
+ "custom/swaykbd": {
+ "format": "{}",
+ "exec": "swaykbd",
+ "tooltip": false
+ },
+ "niri/language": {
+ "on-click": "niri msg action switch-layout next",
+ "on-click-right": "niri msg action switch-layout prev",
+ "format-en": " 🇺🇸",
+ "format-es": " 🇲🇽",
+ "format-ru": " 🇷🇺"
+ }
+}
diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css
index 1871a66..7f8c7ba 100644
--- a/dotfiles/.config/waybar/style.css
+++ b/dotfiles/.config/waybar/style.css
@@ -3,65 +3,26 @@
font-family: monospace;
}
window#waybar {
- background: #000000;
- /* background: linear-gradient(#000000, #151515); */
- color: #f2eccf;
+ background: #1e1c1a;
+ color: #fcf8e2;
min-height: 0;
- border-bottom: 2px solid #33333a;
-}
-#tray,
-#language,
-#custom-torrent-status,
-#workspaces {
- background: #151517;
- margin: 3px 0 3px 0;
- border-style: solid;
- border-color: #33333a;
+ border: 2px solid #33333a;
}
#memory.warning {
color: #b2872f;
}
-#tray{
- border-width: 2px 2px 2px 0;
-}
-#custom-torrent-status{
- border-width: 2px 0 2px 0;
-}
-#language {
- border-width: 2px 0 2px 2px;
-}
-#workspaces {
- padding: 0;
- margin-right: 6px;
- border-width: 2px;
-}
-#workspaces button {
- padding: 0 0.6em;
- color: #fcf8e2;
- border-radius: 0;
- border: 1px solid rgba(0, 0, 0, 0);
-}
-#workspaces button.visible {
- color: #7fac96;
- border-color: #7fac96;
-}
-#workspaces button.focused {
- color: #000000;
- border-color: #7fac96;
- background: linear-gradient(60deg, #5b8277, #99d0b5);
-}
-#workspaces button:hover {
- border: 1px solid #5b8277;
-}
+#cpu,
#mpd,
#tray,
-#clock,
+#mpris,
#memory,
#battery,
#network,
+#language,
#backlight,
-#pulseaudio,
+#workspaces,
#temperature,
+#wireplumber,
#custom-weather,
#custom-swaykbd,
#custom-ds4battery,
@@ -69,12 +30,41 @@ window#waybar {
#custom-pac-status,
#custom-mail-status,
#custom-news-status,
-#custom-waybar-mpris,
#custom-batwatt,
#custom-torrent-status {
color: #fcf8e2;
- padding: 0 6px;
+ padding: 0 0.4em;
+ margin: 2px;
+}
+#clock {
+ font-weight: 500;
+ color: #d6cda3;
+ background: #0d0906;
+ border: 2px inset #1e1e23;
+ margin: 4px 2px 4px 4px;
+ padding: 0 0.4em;
}
-#custom-weather {
- color: #5b8277;
+#workspaces {
+ padding: 0;
+ margin: 6px;
+ background: #4a4842;
+}
+#workspaces button {
+ padding: 0 0.5em;
+ color: #fcf8e2;
+ border-radius: 0;
+ border: 2px solid #1e1e23;
+}
+#workspaces button.visible,
+#workspaces button.active {
+ color: #7fac96;
+ border-color: #7fac96;
+}
+#workspaces button.focused {
+ color: #000000;
+ border-color: #7fac96;
+ background: linear-gradient(60deg, #5b8277, #99d0b5);
+}
+#workspaces button:hover {
+ border-color: #5b8277;
}
diff --git a/dotfiles/.local/bin/barweather b/dotfiles/.local/bin/barweather
index 3fc7f42..a608b80 100755
--- a/dotfiles/.local/bin/barweather
+++ b/dotfiles/.local/bin/barweather
@@ -12,7 +12,7 @@ update_forecast() {
forecast=$(curl -s wttr.in/"$location"?format=1)
if [ ${#forecast} -lt 30 ]; then
- printf "%s\n" "$forecast" > "$cachefile"
+ printf "%s\n" "$forecast" | sed -e 's/ / /g' > "$cachefile"
fi
}
diff --git a/dotfiles/.local/bin/menumako b/dotfiles/.local/bin/menumako
index 628a93a..96c564b 100755
--- a/dotfiles/.local/bin/menumako
+++ b/dotfiles/.local/bin/menumako
@@ -1,3 +1,3 @@
#!/bin/sh
-makoctl menu rofi -dmenu -p "What to do?"
+makoctl menu -- rofi -dmenu -p "What to do?"
diff --git a/dotfiles/.local/share/oculante/config.json b/dotfiles/.local/share/oculante/config.json
new file mode 100644
index 0000000..87bc4ca
--- /dev/null
+++ b/dotfiles/.local/share/oculante/config.json
@@ -0,0 +1,154 @@
+{
+ "accent_color": [
+ 137,
+ 182,
+ 160
+ ],
+ "background_color": [
+ 0,
+ 0,
+ 0
+ ],
+ "vsync": true,
+ "force_redraw": false,
+ "shortcuts": {
+ "AlwaysOnTop": [
+ "T"
+ ],
+ "Fullscreen": [
+ "F"
+ ],
+ "InfoMode": [
+ "I"
+ ],
+ "EditMode": [
+ "E"
+ ],
+ "NextImage": [
+ "N"
+ ],
+ "FirstImage": [
+ "Home"
+ ],
+ "LastImage": [
+ "End"
+ ],
+ "PreviousImage": [
+ "P"
+ ],
+ "RedChannel": [
+ "R"
+ ],
+ "GreenChannel": [
+ "G"
+ ],
+ "BlueChannel": [
+ "B"
+ ],
+ "AlphaChannel": [
+ "A"
+ ],
+ "RGBChannel": [
+ "U"
+ ],
+ "RGBAChannel": [
+ "C"
+ ],
+ "ResetView": [
+ "V"
+ ],
+ "ZoomOut": [
+ "Minus"
+ ],
+ "ZoomIn": [
+ "Equals"
+ ],
+ "ZoomActualSize": [
+ "Key1"
+ ],
+ "ZoomDouble": [
+ "Key2"
+ ],
+ "ZoomThree": [
+ "Key3"
+ ],
+ "ZoomFour": [
+ "Key4"
+ ],
+ "ZoomFive": [
+ "Key5"
+ ],
+ "CompareNext": [
+ "C",
+ "LShift"
+ ],
+ "PanLeft": [
+ "L"
+ ],
+ "PanRight": [
+ "H"
+ ],
+ "PanUp": [
+ "J"
+ ],
+ "PanDown": [
+ "K"
+ ],
+ "DeleteFile": [
+ "Delete"
+ ],
+ "ClearImage": [
+ "Delete",
+ "LShift"
+ ],
+ "LosslessRotateRight": [
+ "RBracket"
+ ],
+ "LosslessRotateLeft": [
+ "LBracket"
+ ],
+ "Copy": [
+ "C",
+ "LControl"
+ ],
+ "Paste": [
+ "LControl",
+ "V"
+ ],
+ "Browse": [
+ "LControl",
+ "O"
+ ],
+ "Quit": [
+ "Q"
+ ],
+ "ZenMode": [
+ "Z"
+ ]
+ },
+ "keep_view": true,
+ "max_cache": 30,
+ "show_scrub_bar": true,
+ "wrap_folder": true,
+ "keep_edits": false,
+ "title_format": "{APP} | {VERSION} | {FULLPATH}",
+ "info_enabled": true,
+ "edit_enabled": false,
+ "show_checker_background": false,
+ "show_minimap": false,
+ "show_frame": false,
+ "svg_scale": 1.0,
+ "zen_mode": false,
+ "theme": "System",
+ "linear_mag_filter": false,
+ "linear_min_filter": true,
+ "use_mipmaps": true,
+ "fit_image_on_window_resize": true,
+ "zoom_multiplier": 1.0,
+ "borderless": false,
+ "min_window_size": [
+ 100,
+ 100
+ ],
+ "experimental_features": false
+} \ No newline at end of file