Compare commits

..

No commits in common. "348d39a92860947edf566bd6c62bf86a954163f6" and "ee2435590e76b76b42619d4074c877ada66a80c2" have entirely different histories.

9 changed files with 32 additions and 49 deletions

View file

@ -7,6 +7,5 @@
../profiles/email ../profiles/email
../profiles/cal ../profiles/cal
../profiles/sync/kitaab ../profiles/sync/kitaab
../profiles/ssh
]; ];
} }

View file

@ -5,9 +5,9 @@ rofi_command="rofi -theme theme/powermenu.rasi"
### Options ### ### Options ###
power_off="\tShutdown" power_off="\tShutdown"
reboot="\tReboot" reboot="\tReboot"
lock="\tLock" lock="\tLock"
suspend="󰤄\tSleep" suspend="\tSleep"
log_out="󰍃\tLogout" log_out="\tLogout"
# Variable passed to rofi # Variable passed to rofi
options="$power_off\n$reboot\n$lock\n$suspend\n$log_out" options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
@ -18,14 +18,14 @@ case "$(echo -e "$options" | $rofi_command -dmenu)" in
" Reboot") " Reboot")
systemctl reboot systemctl reboot
;; ;;
" Lock") " Lock")
dm-tool lock dm-tool lock
;; ;;
"󰤄 Sleep") " Sleep")
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
systemctl suspend systemctl suspend
;; ;;
"󰍃 Logout") " Logout")
bspc quit bspc quit
;; ;;
esac esac

View file

@ -3,11 +3,11 @@
timer=5 timer=5
# Options # Options
select="󰩭 " select=""
window=" " window=""
screen="" screen=""
delay="󱑃 " delay=""
cancel="󰜺 " cancel=""
# Variable passed to rofi # Variable passed to rofi
options="$select\n$window\n$screen\n$delay\n$cancel" options="$select\n$window\n$screen\n$delay\n$cancel"

View file

@ -55,11 +55,10 @@ padding-left = 0
module-margin = 0 module-margin = 0
margin-bottom = 34 margin-bottom = 34
font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=10;1" ; Icon Size font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4"
font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4" ; Large Text font font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=6;1"
font-2 = "FiraCode Nerd Font:pixelsize=12;2" font-2 = "FiraCode Nerd Font:pixelsize=12;2"
font-3 = "Siji:pixelsize=10;2" font-3 = "Siji:pixelsize=8;2"
font-4 = "Iosevka Nerd Font,Iosevka NF:pixelsize=8;1" ; Small Icon Size
; Add module mpd for artist - title info ; Add module mpd for artist - title info
modules-left = bspwm sps volume modules-left = bspwm sps volume
@ -114,11 +113,11 @@ type = internal/bspwm
pin-workspaces = true pin-workspaces = true
enable-click = true enable-click = true
ws-icon-0 = 1;%{T2} %{T-} ws-icon-0 = 1;%{T1} %{T-}
ws-icon-1 = 2;%{T2} %{T-} ws-icon-1 = 2;%{T1} %{T-}
ws-icon-2 = 3;%{T2}󰺻 %{T-} ws-icon-2 = 3;%{T1}󰵅 %{T-}
ws-icon-3 = 4;%{T2} %{T-} ws-icon-3 = 4;%{T1} %{T-}
ws-icon-4 = 5;%{T2} %{T-} ws-icon-4 = 5;%{T1} %{T-}
ws-icon-default =  ws-icon-default = 
; fuzzy-match = true ; fuzzy-match = true
@ -155,14 +154,14 @@ interval = 1.0
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...} ; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %{T2} %{T-}%{T1} %d/%a%{T-} date = %{T1} %{T-}%{T2} %d/%a%{T-}
; Optional time format ; Optional time format
time = %{T2} %H:%M%{T-} time = %{T2} %H:%M%{T-}
; if `date-alt` or `time-alt` is defined, clicking ; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats ; the module will toggle between formats
date-alt = %{T2} %{T-} %{T1} %a, %d %b %y%{T-} date-alt = %{T1} %{T-} %{T2} %a, %d %b %y%{T-}
time-alt = %{T2} %H:%M:%S%{T-} time-alt = %{T2} %H:%M:%S%{T-}
label = %date%%time% label = %date%%time%
@ -178,7 +177,6 @@ label-connected-font = 2
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
label-connected-foreground = #82b414 label-connected-foreground = #82b414
format-disconnected = <label-disconnected> format-disconnected = <label-disconnected>
label-disconnected = "󰖪" label-disconnected = "󰖪"
label-disconnected-foreground = #f92672 label-disconnected-foreground = #f92672
@ -198,7 +196,7 @@ type = internal/cpu
; Default: 1 ; Default: 1
interval = 0.5 interval = 0.5
label = %{T2} %{T-}%{T1} %percentage:2%%%{T-} label = %{T1} %{T-}%{T2} %percentage:2%%%{T-}
label-foreground = ${colors.cyan} label-foreground = ${colors.cyan}
@ -228,7 +226,7 @@ format = <label>
; %gb_swap_free% ; %gb_swap_free%
; %gb_swap_used% ; %gb_swap_used%
label = %{T2}󰍛 %{T-}%{T1} %gb_used%%{T-} label = %{T1}󰍛 %{T-}%{T2} %gb_used%%{T-}
label-foreground = ${colors.cyan} label-foreground = ${colors.cyan}
@ -299,13 +297,13 @@ label-muted-foreground = ${colors.mauve}
bar-volume-width = 8 bar-volume-width = 8
bar-volume-gradient = false bar-volume-gradient = false
bar-volume-indicator = | bar-volume-indicator = |
bar-volume-indicator-font = 6 bar-volume-indicator-font = 2
bar-volume-indicator-foreground = ${colors.mauve} bar-volume-indicator-foreground = ${colors.mauve}
bar-volume-fill = ─ bar-volume-fill = ─
bar-volume-fill-font = 6 bar-volume-fill-font = 2
bar-volume-fill-foreground = ${colors.mauve} bar-volume-fill-foreground = ${colors.mauve}
bar-volume-empty = ─ bar-volume-empty = ─
bar-volume-empty-font = 6 bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.fg-alt} bar-volume-empty-foreground = ${colors.fg-alt}
ramp-volume-0 = "  " ramp-volume-0 = "  "

View file

@ -2,7 +2,7 @@
@import "config.rasi" @import "config.rasi"
textbox-icon { textbox-icon {
str: "󱎂 "; str: " ";
} }
prompt { prompt {

View file

@ -635,7 +635,7 @@ in
} }
} }
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls'} local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'sumneko_lua'}
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig[lsp].setup { lspconfig[lsp].setup {
on_attach = function(client, bufnr) on_attach = function(client, bufnr)
@ -877,7 +877,7 @@ in
statix statix
nodePackages.typescript nodePackages.typescript
nodePackages.typescript-language-server nodePackages.typescript-language-server
luajitPackages.lua-lsp sumneko-lua-language-server
fennel-ls fennel-ls
]; ];

View file

@ -1,10 +0,0 @@
{
home.file.".ssh/config".text = ''
Host mossnet.lan
ForwardAgent Yes
Host sealight.xyz
ForwardAgent Yes
Host git.sealight.xyz
ForwardAgent Yes
'';
}

View file

@ -1,9 +1,9 @@
{ self, pkgs, lib, config, ... }: { self, pkgs, lib, config, ... }:
{ {
# age.secrets.sealight-mod-password.file = "${self}/secrets/sealight-mod-password.age"; age.secrets.sealight-mod-password.file = "${self}/secrets/sealight-mod-password.age";
# age.secrets.sealight-mod-password.owner = "mjolnir"; age.secrets.sealight-mod-password.owner = "mjolnir";
services.mjolnir = { services.mjolnir = {
enable = false; enable = true;
protectedRooms = [ protectedRooms = [
"https://matrix.to/#/#public:sealight.xyz" "https://matrix.to/#/#public:sealight.xyz"
"https://matrix.to/#/#theFeed:sealight.xyz" "https://matrix.to/#/#theFeed:sealight.xyz"

View file

@ -10,10 +10,6 @@
calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec { calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec {
propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff
}); });
mautrix-signal = prev.mautrix-signal.overrideAttrs (prevAttrs: rec {
buildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.aiosqlite ]; # We're using sqlite and upstream doesn't package this dependency
});
# Need to do server and agent too, maybe # Need to do server and agent too, maybe
# woodpecker-cli-next = # woodpecker-cli-next =
# let # let