Compare commits

..

1 Commits

Author SHA1 Message Date
d8fec1d664 Test for learning 2025-09-30 21:49:46 +02:00
26 changed files with 46 additions and 747 deletions

View File

@@ -5,7 +5,3 @@ When there are conflicts the resolve script can be used with care. It can be use
When `stow` is run with the dotfiles flag then the prefix is parsed and replaced. Be careful that there still exist dotfiles in this repo. When `stow` is run with the dotfiles flag then the prefix is parsed and replaced. Be careful that there still exist dotfiles in this repo.
Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults. Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults.
## Additional
Setup `rlone` host `Strato` for the automatic webdav mounting to work. This is automatically done when using hyprland.

5
all.sh
View File

@@ -1,5 +0,0 @@
#!/bin/sh
bash stow.sh cli
bash stow.sh gui
bash stow.sh home

View File

@@ -5,7 +5,7 @@
color_theme = "Default" color_theme = "Default"
#* If the theme set background should be shown, set to False if you want terminal background transparency. #* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = False theme_background = True
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. #* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = True truecolor = True
@@ -57,10 +57,10 @@ update_ms = 2000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "user" proc_sorting = "cpu lazy"
#* Reverse sorting order, True or False. #* Reverse sorting order, True or False.
proc_reversed = True proc_reversed = False
#* Show processes as a tree. #* Show processes as a tree.
proc_tree = True proc_tree = True
@@ -169,7 +169,7 @@ show_swap = True
swap_disk = True swap_disk = True
#* If mem box should be split to also show disks info. #* If mem box should be split to also show disks info.
show_disks = False show_disks = True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True only_physical = True

View File

@@ -1,141 +0,0 @@
# Test
theme = "jonas"
[keys.normal]
# Quick iteration on config changes
C-o = ":config-open"
C-r = ":config-reload"
# Some nice Helix stuff
C-h = "select_prev_sibling"
C-j = "shrink_selection"
C-k = "expand_selection"
C-l = "select_next_sibling"
# Personal preference
o = ["open_below", "normal_mode"]
O = ["open_above", "normal_mode"]
# Muscle memory
"{" = ["goto_prev_paragraph", "collapse_selection"]
"}" = ["goto_next_paragraph", "collapse_selection"]
0 = "goto_line_start"
"$" = "goto_line_end"
"^" = "goto_first_nonwhitespace"
G = "goto_file_end"
"%" = "match_brackets"
V = ["select_mode", "extend_to_line_bounds"]
C = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection", "insert_mode"]
D = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection"]
S = "surround_add" # Would be nice to be able to do something after this but it isn't chainable
# Clipboards over registers ye ye
x = "delete_selection"
p = ["paste_clipboard_after", "collapse_selection"]
P = ["paste_clipboard_before", "collapse_selection"]
# Would be nice to add ya and yi, but the surround commands can't be chained
Y = ["extend_to_line_end", "yank_main_selection_to_clipboard", "collapse_selection"]
# Uncanny valley stuff, this makes w and b behave as they do Vim
w = ["move_next_word_start", "move_char_right", "collapse_selection"]
W = ["move_next_long_word_start", "move_char_right", "collapse_selection"]
e = ["move_next_word_end", "collapse_selection"]
E = ["move_next_long_word_end", "collapse_selection"]
b = ["move_prev_word_start", "collapse_selection"]
B = ["move_prev_long_word_start", "collapse_selection"]
# If you want to keep the selection-while-moving behaviour of Helix, this two lines will help a lot,
# especially if you find having text remain selected while you have switched to insert or append mode
#
# There is no real difference if you have overridden the commands bound to 'w', 'e' and 'b' like above
# But if you really want to get familiar with the Helix way of selecting-while-moving, comment the
# bindings for 'w', 'e', and 'b' out and leave the bindings for 'i' and 'a' active below. A world of difference!
i = ["insert_mode", "collapse_selection"]
a = ["append_mode", "collapse_selection"]
# Undoing the 'd' + motion commands restores the selection which is annoying
u = ["undo", "collapse_selection"]
# Escape the madness! No more fighting with the cursor! Or with multiple cursors!
esc = ["collapse_selection", "keep_primary_selection"]
# Search for word under cursor
"*" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_next"]
"#" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_prev"]
# Make j and k behave as they do Vim when soft-wrap is enabled
j = "move_line_down"
k = "move_line_up"
# Extend and select commands that expect a manual input can't be chained
# I've kept d[X] commands here because it's better to at least have the stuff you want to delete
# selected so that it's just a keystroke away to delete
[keys.normal.d]
d = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "delete_selection"]
t = ["extend_till_char"]
s = ["surround_delete"]
i = ["select_textobject_inner"]
a = ["select_textobject_around"]
j = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"]
down = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"]
k = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"]
up = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"]
G = ["select_mode", "extend_to_line_bounds", "goto_last_line", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"]
w = ["move_next_word_start", "yank_main_selection_to_clipboard", "delete_selection"]
W = ["move_next_long_word_start", "yank_main_selection_to_clipboard", "delete_selection"]
g = { g = ["select_mode", "extend_to_line_bounds", "goto_file_start", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "delete_selection", "normal_mode"] }
[keys.normal.y]
y = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "normal_mode", "collapse_selection"]
j = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
down = ["select_mode", "extend_to_line_bounds", "extend_line_below", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
k = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
up = ["select_mode", "extend_to_line_bounds", "extend_line_above", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
G = ["select_mode", "extend_to_line_bounds", "goto_last_line", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
w = ["move_next_word_start", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
W = ["move_next_long_word_start", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"]
g = { g = ["select_mode", "extend_to_line_bounds", "goto_file_start", "extend_to_line_bounds", "yank_main_selection_to_clipboard", "collapse_selection", "normal_mode"] }
[keys.insert]
# Escape the madness! No more fighting with the cursor! Or with multiple cursors!
esc = ["collapse_selection", "normal_mode"]
[keys.select]
# Muscle memory
"{" = ["extend_to_line_bounds", "goto_prev_paragraph"]
"}" = ["extend_to_line_bounds", "goto_next_paragraph"]
0 = "goto_line_start"
"$" = "goto_line_end"
"^" = "goto_first_nonwhitespace"
G = "goto_file_end"
D = ["extend_to_line_bounds", "delete_selection", "normal_mode"]
C = ["goto_line_start", "extend_to_line_bounds", "change_selection"]
"%" = "match_brackets"
S = "surround_add" # Basically 99% of what I use vim-surround for
u = ["switch_to_lowercase", "collapse_selection", "normal_mode"]
U = ["switch_to_uppercase", "collapse_selection", "normal_mode"]
# Visual-mode specific muscle memory
i = "select_textobject_inner"
a = "select_textobject_around"
# Some extra binds to allow us to insert/append in select mode because it's nice with multiple cursors
tab = ["insert_mode", "collapse_selection"] # tab is read by most terminal editors as "C-i"
C-a = ["append_mode", "collapse_selection"]
# Make selecting lines in visual mode behave sensibly
k = ["extend_line_up", "extend_to_line_bounds"]
j = ["extend_line_down", "extend_to_line_bounds"]
# Clipboards over registers ye ye
d = ["yank_main_selection_to_clipboard", "delete_selection"]
x = ["yank_main_selection_to_clipboard", "delete_selection"]
y = ["yank_main_selection_to_clipboard", "normal_mode", "flip_selections", "collapse_selection"]
Y = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "goto_line_start", "collapse_selection", "normal_mode"]
p = "replace_selections_with_clipboard" # No life without this
P = "paste_clipboard_before"
# Escape the madness! No more fighting with the cursor! Or with multiple cursors!
esc = ["collapse_selection", "keep_primary_selection", "normal_mode"]

View File

@@ -1,153 +0,0 @@
# Author : Jakub Bartodziej <kubabartodziej@gmail.com>
# The theme uses the gruvbox dark palette with standard contrast: github.com/morhetz/gruvbox
"annotation" = { fg = "fg1" }
"attribute" = { fg = "aqua1", modifiers = ["italic"] }
"comment" = { fg = "gray", modifiers = ["italic"] }
"constant" = { fg = "purple1" }
"constant.character" = { fg = "aqua1" }
"constant.character.escape" = { fg = "orange1" }
"constant.macro" = { fg = "aqua1" }
"constructor" = { fg = "purple1" }
"definition" = { underline = { color = "aqua1" } }
"diagnostic" = { underline = { color = "orange1", style = "curl" } }
"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
"diagnostic.error" = { underline = { color = "red1", style = "curl" } }
"diagnostic.hint" = { underline = { color = "blue1", style = "curl" } }
"diagnostic.info" = { underline = { color = "aqua1", style = "curl" } }
"diagnostic.warning" = { underline = { color = "yellow1", style = "curl" } }
# "diagnostic.unnecessary" = { modifiers = ["dim"] } # do not remove this for future resolving
"error" = { fg = "red1" }
"hint" = { fg = "blue1" }
"info" = { fg = "aqua1" }
"warning" = { fg = "yellow1" }
"diff.delta" = { fg = "yellow1" }
"diff.minus" = { fg = "red1" }
"diff.plus" = { fg = "green1" }
"function" = { fg = "green1" }
"function.builtin" = { fg = "yellow1" }
"function.macro" = { fg = "blue1" }
"keyword" = { fg = "red1" }
"keyword.control.import" = { fg = "aqua1" }
"label" = { fg = "red1" }
"markup.bold" = { modifiers = ["bold"] }
"markup.heading" = "aqua1"
"markup.italic" = { modifiers = ["italic"] }
"markup.link.text" = "red1"
"markup.link.url" = { fg = "green1", modifiers = ["underlined"] }
"markup.raw" = "red1"
"markup.strikethrough" = { modifiers = ["crossed_out"] }
"module" = { fg = "aqua1" }
"namespace" = { fg = "fg1" }
"operator" = { fg = "purple1" }
"punctuation" = { fg = "orange1" }
"special" = { fg = "purple0" }
"string" = { fg = "green1" }
"string.regexp" = { fg = "orange1" }
"string.special" = { fg = "orange1" }
"string.symbol" = { fg = "yellow1" }
"tag" = { fg = "aqua1" }
"type" = { fg = "yellow1" }
"type.enum.variant" = { modifiers = ["italic"] }
"ui.background" = { bg = "bg0" }
"ui.bufferline" = { fg = "fg1", bg = "bg1" }
"ui.bufferline.active" = { fg = "bg0", bg = "yellow0" }
"ui.bufferline.background" = { bg = "bg2" }
"ui.cursor" = { fg = "bg1", bg = "bg2" }
"ui.cursor.insert" = { fg = "bg1", bg = "blue0" }
"ui.cursor.normal" = { fg = "bg1", bg = "gray" }
"ui.cursor.select" = { fg = "bg1", bg = "orange0" }
"ui.cursor.match" = { fg = "fg3", bg = "bg3" }
"ui.cursor.primary" = { bg = "fg3", fg = "bg1" }
"ui.cursor.primary.insert" = { fg = "bg1", bg = "blue1" }
"ui.cursor.primary.normal" = { fg = "bg1", bg = "fg3" }
"ui.cursor.primary.select" = { fg = "bg1", bg = "orange1" }
"ui.cursorline" = { bg = "bg0_s" }
"ui.cursorline.primary" = { bg = "bg1" }
"ui.help" = { bg = "bg1", fg = "fg1" }
"ui.linenr" = { fg = "bg3" }
"ui.linenr.selected" = { fg = "yellow1" }
"ui.menu" = { fg = "fg1", bg = "bg2" }
"ui.menu.selected" = { fg = "green1", bg = "bg1", modifiers = ["bold"] }
"ui.popup" = { bg = "bg1" }
"ui.picker.header.column" = { underline.style = "line" }
"ui.picker.header.column.active" = { modifiers = ["bold"], underline.style = "line" }
"ui.selection" = { bg = "bg2" }
"ui.selection.primary" = { bg = "bg3" }
"ui.statusline" = { fg = "fg1", bg = "bg2" }
"ui.statusline.inactive" = { fg = "fg4", bg = "bg2" }
"ui.statusline.insert" = { fg = "bg1", bg = "blue1", modifiers = ["bold"] }
"ui.statusline.normal" = { fg = "bg1", bg = "fg3", modifiers = ["bold"] }
"ui.statusline.select" = { fg = "bg1", bg = "orange1", modifiers = ["bold"] }
"ui.text" = { fg = "fg1" }
"ui.text.focus" = { fg = "green1", bg="bg1" }
"ui.text.directory" = { fg = "blue1" }
"ui.virtual.inlay-hint" = { fg = "gray" }
"ui.virtual.jump-label" = { fg = "purple0", modifiers = ["bold"] }
"ui.virtual.ruler" = { bg = "bg1" }
"ui.virtual.whitespace" = "bg2"
"ui.virtual.wrap" = { fg = "bg2" }
"ui.window" = { bg = "bg1" }
"variable" = { fg = "fg1" }
"variable.builtin" = { fg = "orange1", modifiers = ["italic"] }
"variable.other.member" = { fg = "blue1" }
"variable.parameter" = { fg = "blue1", modifiers = ["italic"] }
[palette]
bg0 = "#282828" # main background
bg0_s = "#32302f"
bg1 = "#3c3836"
bg2 = "#504945"
bg3 = "#665c54"
bg4 = "#7c6f64"
fg0 = "#fbf1c7"
fg1 = "#ebdbb2" # main foreground
fg2 = "#d5c4a1"
fg3 = "#bdae93"
fg4 = "#a89984"
gray = "#928374"
red0 = "#cc241d" # neutral
red1 = "#fb4934" # bright
green0 = "#98971a"
green1 = "#b8bb26"
yellow0 = "#d79921"
yellow1 = "#fabd2f"
blue0 = "#458588"
blue1 = "#83a598"
purple0 = "#b16286"
purple1 = "#d3869b"
aqua0 = "#689d6a"
aqua1 = "#8ec07c"
orange0 = "#d65d0e"
orange1 = "#fe8019"

View File

@@ -1,16 +0,0 @@
# Configuration
default_language: go
theme: nord
# Colors
background: "0"
foreground: "7"
primary_color: "#AFBEE1"
primary_color_subdued: "#64708D"
green: "#527251"
bright_green: "#BCE1AF"
bright_red: "#E49393"
red: "#A46060"
black: "#888888"
gray: "#FFFFFF"
white: "#FFFFFF"

View File

@@ -62,7 +62,6 @@ nick_mode = prefix
nick_mode_empty = off nick_mode_empty = off
nicks_hide_password = "nickserv" nicks_hide_password = "nickserv"
notice_as_pv = auto notice_as_pv = auto
notice_nicks_disable_notify = "chanserv,nickserv"
notice_welcome_redirect = on notice_welcome_redirect = on
notice_welcome_tags = "" notice_welcome_tags = ""
notify_tags_ison = "notify_message" notify_tags_ison = "notify_message"

View File

@@ -62,8 +62,6 @@ backlog_time_format = "[%H:%M] "
remote_autoreconnect_delay_growing = 2 remote_autoreconnect_delay_growing = 2
remote_autoreconnect_delay_max = 600 remote_autoreconnect_delay_max = 600
remote_get_lines = 1000 remote_get_lines = 1000
remote_input_cmd_local = " ${color:green}<local cmd>"
remote_input_cmd_remote = " ${color:red}<remote cmd>"
[port] [port]

View File

@@ -17,4 +17,4 @@ salt = on
[data] [data]
__passphrase__ = on __passphrase__ = on
libera_password = "B0880AFBE996D9870D77AFB8160D7949A56A4903CDAFF670A8ED66232CCE98D5561BC45D60F7DBF9E974E63E5A9486234C3E32632366BDD1A81B" libera_password = "A4AE45D22CFB0C1925758BD65F1EC012311404966DFCFDB714E0150D3F17E867AB969A616A06BDF9F7F5B7443249552EF3B613D8F40AECE9D164"

View File

@@ -138,10 +138,8 @@ scroll_page_percent = 100
search_text_not_found_alert = on search_text_not_found_alert = on
separator_horizontal = "-" separator_horizontal = "-"
separator_vertical = "" separator_vertical = ""
tab_whitespace_char = "→"
tab_width = 1 tab_width = 1
time_format = "%a, %d %b %Y %T" time_format = "%a, %d %b %Y %T"
whitespace_char = "·"
window_auto_zoom = off window_auto_zoom = off
window_separator_horizontal = on window_separator_horizontal = on
window_separator_vertical = on window_separator_vertical = on
@@ -233,9 +231,7 @@ nick_case_sensitive = off
nick_completer = ": " nick_completer = ": "
nick_first_only = off nick_first_only = off
nick_ignore_chars = "[]`_-^" nick_ignore_chars = "[]`_-^"
nick_ignore_words = ""
partial_completion_alert = on partial_completion_alert = on
partial_completion_auto_expand = on
partial_completion_command = off partial_completion_command = off
partial_completion_command_arg = off partial_completion_command_arg = off
partial_completion_count = on partial_completion_count = on

View File

@@ -1,35 +0,0 @@
require("starship"):setup()
require("gpg"):setup {
default_recipient = "jonashahn1@gmx.net",
delete_after = true,
}
require("git"):setup()
-- https://github.com/MasouShizuka/projects.yazi
--require("projects"):setup({
-- save = {
-- method = "lua",
-- },
-- last = {
-- update_after_save = true,
-- update_after_load = true,
-- load_after_start = true,
-- },
-- notify = {
-- enable = false,
-- },
--})
function Linemode:line_info()
local time = math.floor(self._file.cha.mtime or 0)
if time == 0 then
time = ""
elseif os.date("%Y", time) == os.date("%Y") then
time = os.date("%b %d %H:%M", time)
else
time = os.date("%b %d %Y", time)
end
return time
end

View File

@@ -10,13 +10,9 @@ prepend_keymap = [
# Chmod in yazi # Chmod in yazi
{on = [ "c", "m" ],run = "plugin chmod",desc = "Chmod on selected files"}, {on = [ "c", "m" ],run = "plugin chmod",desc = "Chmod on selected files"},
{on = [ "g", "E" ],run = "plugin gpg",desc = "Gpg the hovered file"},
#{on = [ "q" ],run = "plugin projects quit",desc = "Quit with save"},
{on = [ "M" ],run = "plugin mount",desc = "Quit with save"},
# Recover the last delted file # Recover the last delted file
{ on = ["u"], run = "plugin restore", desc = "Restore last deleted files/folders" }, { on = ["u"], run = "plugin restore", desc = "Restore last deleted files/folders" },
{ on = ["T"], run = "plugin toggle-pane max-preview", desc = "Restore last deleted files/folders" },
# Get the size of the cwd # Get the size of the cwd
{ on = [ "\\", "s" ], run = "plugin what-size", desc = "Calc size of selection or cwd" }, { on = [ "\\", "s" ], run = "plugin what-size", desc = "Calc size of selection or cwd" },
@@ -36,6 +32,7 @@ prepend_keymap = [
# More mappings # More mappings
append_keymap = [ append_keymap = [
# Default jumping to stuff # Default jumping to stuff
{ on = [ "g", "s" ], run = "cd /webdav", desc = "Go to webdav folder" },
{ on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" }, { on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" },
{ on = [ "g", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" }, { on = [ "g", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" },
{ on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects folder" }, { on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects folder" },
@@ -44,11 +41,8 @@ append_keymap = [
{ on = [ "g", "r" ], run = "cd /", desc = "Go to root" }, { on = [ "g", "r" ], run = "cd /", desc = "Go to root" },
{ on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" }, { on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" },
{ on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" }, { on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" },
{ on = [ "g", "x" ], run = "cd ~/Nextcloud", desc = "Go to nextcloud" }, { on = [ "g", "a" ], run = "cd ~/workspace/agla", desc = "Go to agla" },
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" }, { on = [ "g", "t" ], run = "cd ~/.local/share/Trash", desc = "Go to Trash" },
{ on = [ "g", "T" ], run = "cd ~/.local/share/Trash", desc = "Go to trash" }, { on = [ "g", "U" ], run = "cd ~/projects/university/pdfs", desc = "Go to Uni PDF" },
{ on = [ "g", "t" ], run = "cd ~/Nextcloud/Notes", desc = "Go to notes" },
{ on = [ "g", "U" ], run = "cd ~/Nextcloud/University/current", desc = "Go to Uni" },
{ on = [ "g", "C" ], run = "cd ~/projects/university/S3", desc = "Go to current semester" },
] ]

View File

@@ -5,13 +5,13 @@ hash = "ee71543790f0ce3951161045a3787abd"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:chmod" use = "yazi-rs/plugins:chmod"
rev = "8f1d971" rev = "d1c8baa"
hash = "8ad3e90b079190b4905f24a44f4ca06b" hash = "8ad3e90b079190b4905f24a44f4ca06b"
[[plugin.deps]] [[plugin.deps]]
use = "boydaihungst/restore" use = "boydaihungst/restore"
rev = "2161735" rev = "dc40509"
hash = "901741afba1979739b4650324265162e" hash = "e7e377f9b1bbaca4a2e5d9ec9709ac4d"
[[plugin.deps]] [[plugin.deps]]
use = "pirafrank/what-size" use = "pirafrank/what-size"
@@ -23,31 +23,6 @@ use = "dedukun/bookmarks"
rev = "9ef1254" rev = "9ef1254"
hash = "92fbb5483657fa7976cdf4e0104e18e0" hash = "92fbb5483657fa7976cdf4e0104e18e0"
[[plugin.deps]]
use = "Ascyii/gpg"
rev = "58fccf8"
hash = "b6a8d73d6f0be9aeb9be2077b062ca84"
[[plugin.deps]]
use = "Rolv-Apneseth/starship"
rev = "a63550b"
hash = "c2021386289a0cbb3e152a052f67c177"
[[plugin.deps]]
use = "yazi-rs/plugins:mount"
rev = "8f1d971"
hash = "4fccaaf10c36dc2466e2438a386ff017"
[[plugin.deps]]
use = "yazi-rs/plugins:git"
rev = "8f1d971"
hash = "63b6c222bf2103b3023389dde5e2ecfe"
[[plugin.deps]]
use = "yazi-rs/plugins:toggle-pane"
rev = "8f1d971"
hash = "8a7c58225816a163a6e8730c0adafbc8"
[[flavor.deps]] [[flavor.deps]]
use = "dangooddd/kanagawa" use = "dangooddd/kanagawa"
rev = "a0b1d9d" rev = "a0b1d9d"

View File

@@ -1,13 +1,9 @@
[mgr] [mgr]
sort_by = "mtime" sort_by = "extension"
linemode = "line_info"
sort_reverse = true
sort_dir_first = true
show_hidden = false show_hidden = false
mouse_events = []
[opener] [opener]
image = [ imagefeh = [
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" }, { run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
] ]
play = [ play = [
@@ -20,9 +16,6 @@ open = [
{ run = 'xdg-open "$@"', desc = "Open" }, { run = 'xdg-open "$@"', desc = "Open" },
] ]
[confirm]
quit = false
[open] [open]
prepend_rules = [ prepend_rules = [
{ mime = "application/pdf", use = "open" }, { mime = "application/pdf", use = "open" },
@@ -30,20 +23,10 @@ prepend_rules = [
{ name = "*.html", use = [ "open" ] }, { name = "*.html", use = [ "open" ] },
] ]
rules = [ rules = [
{ mime = "image/*", use = "image" }, { mime = "image/*", use = "imagefeh" },
{ mime = "text/*", use = "edit" }, { mime = "text/*", use = "edit" },
{ mime = "video/*", use = "play" }, { mime = "video/*", use = "play" },
] ]
append_rules = [ append_rules = [
{ name = "*", use = ["edit", "open", "image", "play"]} { name = "*", use = ["edit", "open", "play"]}
] ]
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
run = "git"

View File

@@ -1,7 +1,7 @@
# Main dunst configuration # Main dunst configuration
[global] [global]
monitor = 2 # For the multi monitor setup monitor = 0
follow = none follow = none
origin = top-right origin = top-right
offset = 5 x 15 offset = 5 x 15
@@ -28,6 +28,7 @@
alignment = left alignment = left
vertical_alignment = center vertical_alignment = center
ignore_newline = no ignore_newline = no
stack_duplicates = true stack_duplicates = true
hide_duplicate_count = false hide_duplicate_count = false
@@ -37,3 +38,4 @@
corner_radius = 5 corner_radius = 5
corners = bottom, top-left corners = bottom, top-left

View File

@@ -5,49 +5,26 @@ monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
monitor = HDMI-A-2, 1920x1080@60, -1920x0, 1 monitor = HDMI-A-2, 1920x1080@60, -1920x0, 1
monitor = DP-1, 1920x1080@60, 1920x0, 1 monitor = DP-1, 1920x1080@60, 1920x0, 1
device { input:tablet {
name = gaomon-gaomon-tablet # Big one
output = HDMI-A-1 output = HDMI-A-1
active_area_size = 170, 120 active_area_size = 170, 120
active_area_position = 35, 30 active_area_position = 35, 30
} }
device {
name = gaomon-gaomon-tablet-pen # Small one
output = HDMI-A-1
active_area_size = 155, 60
active_area_position = 0, 0
}
####################################################################################### #######################################################################################
$terminal = alacritty $terminal = alacritty
$menu = tofi-drun --terminal="alacritty -e" | sh $menu = tofi-drun --terminal=kitty | sh
####################################################################################### #######################################################################################
exec-once = waybar exec-once = waybar
exec-once = hyprsunset -t 3000 exec-once = hyprsunset -t 3000
exec-once = wl-clip-persist --clipboard regular exec-once = wl-clip-persist --clipboard regular
#exec-once = hyprpaper exec-once = hyprpaper
exec-once = nm-applet exec-once = nm-applet
exec-once = ~/projects/scripts/shell/start_kmonad.sh exec-once = ~/projects/scripts/shell/rnote_mapper.sh
exec-once = sleep 5 && nextcloud
exec-once = sleep 5 && owncloud
# Prevent speaker damage
exec-once = sleep 5 && wpctl set-volume @DEFAULT_AUDIO_SINK@ 42%
#exec-once = ~/projects/scripts/shell/rnote_mapper.sh
exec-once = ~/projects/scripts/shell/toggle_grayscale.sh
exec-once = ~/projects/scripts/shell/computer.sh
# Mount the webdav folder configured by rclone
#exec-once = mkdir -p ~/Notecloud
#exec-once = rclone mount Strato: ~/Notecloud
# Set the right workspace otherwise it is set to ten
exec-once = sleep 0.1 && hyprctl dispatch workspace 1
# Check the hostname and enable animations only on a specific device # Check the hostname and enable animations only on a specific device
#exec-once = sh -c 'if [ "$(hostname)" = "minoxy" ]; then hyprctl keyword animations enabled; fi' #exec-once = sh -c 'if [ "$(hostname)" = "minoxy" ]; then hyprctl keyword animations enabled; fi'
@@ -63,14 +40,10 @@ workspace=4,monitor:HDMI-A-1
workspace=5,monitor:HDMI-A-2 workspace=5,monitor:HDMI-A-2
workspace=6,monitor:HDMI-A-2 workspace=6,monitor:HDMI-A-2
workspace=7,monitor:HDMI-A-2 workspace=7,monitor:HDMI-A-2
workspace=11,monitor:HDMI-A-2
workspace=12,monitor:HDMI-A-2
workspace=8,monitor:DP-1 workspace=8,monitor:DP-1
workspace=9,monitor:DP-1 workspace=9,monitor:DP-1
workspace=13,monitor:DP-1 workspace=0,monitor:DP-1
workspace=14,monitor:DP-1
env = HYPRCURSOR_THEME,catppuccin-frappe-rosewater-cursors env = HYPRCURSOR_THEME,catppuccin-frappe-rosewater-cursors
env = HYPRCURSOR_SIZE,18 env = HYPRCURSOR_SIZE,18
@@ -96,7 +69,6 @@ misc {
input { input {
kb_layout = us kb_layout = us
kb_options = compose:ralt
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = false natural_scroll = false
@@ -112,7 +84,6 @@ bind = $mainMod, B, exec, firefox
bind = $mainMod, M, exit, bind = $mainMod, M, exit,
bind = $mainMod, F, togglefloating, bind = $mainMod, F, togglefloating,
bind = $mainMod, P, exec, $menu bind = $mainMod, P, exec, $menu
bind = $mainMod, E, exec, nemo
# Some keybindings for screenshot and colorpicking # Some keybindings for screenshot and colorpicking
bind = , Print, exec, hyprshot -m region --clipboard-only bind = , Print, exec, hyprshot -m region --clipboard-only
@@ -135,10 +106,6 @@ bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10
bind = $mainMod, A, workspace, 11
bind = $mainMod, S, workspace, 12
bind = $mainMod, D, workspace, 13
bind = $mainMod, G, workspace, 14
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3
@@ -149,10 +116,6 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, A, movetoworkspace, 11
bind = $mainMod SHIFT, S, movetoworkspace, 12
bind = $mainMod SHIFT, D, movetoworkspace, 13
bind = $mainMod SHIFT, G, movetoworkspace, 14
bind = $mainMod, F12, exec, ~/projects/scripts/unison_sync.sh bind = $mainMod, F12, exec, ~/projects/scripts/unison_sync.sh
# Resizeing with mouse buttons while pressed mod # Resizeing with mouse buttons while pressed mod
@@ -174,7 +137,6 @@ bindt = $mainMod SHIFT, L, exec, hyprlock
windowrulev2 = suppressevent maximize, class:.* windowrulev2 = suppressevent maximize, class:.*
windowrulev2 = float, class:(clipse) windowrulev2 = float, class:(clipse)
windowrulev2 = float, class:(Edit Item)
windowrulev2 = size 622 652, class:(clipse) windowrulev2 = size 622 652, class:(clipse)
windowrulev2 = stayfocused, class:(clipse) windowrulev2 = stayfocused, class:(clipse)
windowrulev2 = float, class:(org.kde.dolphin) windowrulev2 = float, class:(org.kde.dolphin)
@@ -206,7 +168,7 @@ windowrulev2 = workspace 5, class:(steam)
windowrulev2 = workspace 5, class:(blender) windowrulev2 = workspace 5, class:(blender)
windowrulev2 = workspace 6, initialTitle:(LibreOffice) windowrulev2 = workspace 6, initialTitle:(LibreOffice)
#windowrulev2 = workspace 6, initialTitle:(GNU Image Manipulation Program) windowrulev2 = workspace 6, initialTitle:(GNU Image Manipulation Program)
windowrulev2 = workspace 6, class:(org.shotcut.Shotcut) windowrulev2 = workspace 6, class:(org.shotcut.Shotcut)
# Social Apps # Social Apps
@@ -234,54 +196,28 @@ windowrulev2 = workspace 10, class:(org.prismlauncher.PrismLauncher)
#windowrule = float,^(sioyek)$ # set rounding to 10 for kitty #windowrule = float,^(sioyek)$ # set rounding to 10 for kitty
windowrulev2 = size 900 500, title:(Select Document) windowrulev2 = size 900 500, title:(Select Document)
windowrulev2 = size 900 500, title:(Open File) windowrulev2 = size 900 500, title:(Open File)
windowrulev2 = float, class:(PrismLauncher)
windowrulev2 = workspace 9, class:(PrismLauncher)
windowrulev2 = workspace 4, class:(Minecraft*)
# Settings applications will float # Settings applications will float
windowrulev2 = float, class:(qt6ct) windowrulev2 = float, class:(qt6ct)
windowrulev2 = float, class:(nm-connection-editor)
windowrulev2 = float, title:(Save Document As)
windowrulev2 = float, title:(Print)
windowrulev2 = float, class:(simple-scan) windowrulev2 = float, class:(simple-scan)
windowrulev2 = float, title:(Kvantum Manager) windowrulev2 = float, title:(Kvantum Manager)
windowrulev2 = float, class:(qt5ct) windowrulev2 = float, class:(qt5ct)
windowrulev2 = float, title:(Open File) windowrulev2 = float, title:(Open File)
windowrulev2 = float, title:(Open Folder) windowrulev2 = float, title:(Open Folder)
windowrulev2 = float, title:(Save As) windowrulev2 = float, title:(Save As)
windowrulev2 = float, title:(Preferences) windowrulev2 = tile, class:(sioyek)
windowrulev2 = float, title:(Add)
windowrulev2 = size 450 450, class:(Gnuplot) windowrulev2 = size 450 450, class:(Gnuplot)
windowrulev2 = move 100 203, class:(Gnuplot) windowrulev2 = move 100 203100, class:(Gnuplot)
# Overwrite mechanics windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt)
windowrulev2 = float, class:(thunderbird) windowrulev2 = size 700 700, class:(Qalculate!)
windowrulev2 = tile, initialTitle:(Mozilla Thunderbird)
#windowrulev2 = tile, class:(sioyek)
windowrulev2 = float, title:(Select Document) windowrulev2 = float, title:(Select Document)
windowrulev2 = float, class:(Nextcloud)
windowrulev2 = move 1250 28, class:(Nextcloud)
windowrulev2 = move 700 50, title:(Nextcloud Settings)
windowrulev2 = size 700 800, title:(Nextcloud Settings)
windowrulev2 = float, class:(ownCloud) windowrulev2 = size 800 250, class:(org.pulseaudio.pavucontrol)
windowrulev2 = move 800 48, class:(ownCloud)
windowrulev2 = move 700 50, title:(Nextcloud Settings)
windowrulev2 = size 1200 900, title:(Add)
windowrulev2 = size 800 450, class:(org.pulseaudio.pavucontrol)
windowrulev2 = move 40 80, class:(org.pulseaudio.pavucontrol) windowrulev2 = move 40 80, class:(org.pulseaudio.pavucontrol)
windowrulev2 = move 1300 80, class:(nm-connection-editor)
windowrulev2 = float, class:(org.pulseaudio.pavucontrol) windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
windowrulev2 = float, class:(cheese) windowrulev2 = float, class:(cheese)
windowrulev2 = float, class:(nemo)
windowrulev2 = float, initialTitle:(Open)
windowrulev2 = size 1200 900, class:(nemo)
windowrulev2 = move 50 100, class:(xdragon) windowrulev2 = move 50 100, class:(xdragon)
windowrulev2 = pin, class:(xdragon) windowrulev2 = pin, class:(xdragon)

View File

@@ -1,18 +0,0 @@
#version 300 es
precision highp float;
in vec2 v_texcoord;
uniform sampler2D tex;
out vec4 fragColor;
void main() {
vec4 pixColor = texture(tex, v_texcoord);
float gray = 0.0;
// Get gray with luminosity and hdr
// https://en.wikipedia.org/wiki/Grayscale#Luma_coding_in_video_systems
gray = dot(pixColor.rgb, vec3(0.2627, 0.6780, 0.0593));
fragColor = vec4(vec3(gray), pixColor.a);
}

View File

@@ -2,7 +2,7 @@ font = NotoFont
font-size = 14 font-size = 14
outline-width = 0 outline-width = 0
border-width = 2 border-width = 1
padding-left = 4% padding-left = 4%
padding-top = 2% padding-top = 2%
@@ -10,16 +10,17 @@ background-color = #111
text-color = #f9fbff text-color = #f9fbff
selection-color = #933 selection-color = #933
prompt-text = "Act: " prompt-text = "Act: "
placeholder-text = "Now"
width = 30% width = 20%
height = 30% height = 40%
anchor = bottom-right
anchor = top margin-top = 100
margin-top = 250 margin-bottom = 100
input-background = #1234 input-background = #1234
margin-left = 100
margin-right = 100
hide-cursor = false hide-cursor = false
corner-radius = 7 corner-radius = 10
border-color = #F9a672 border-color = #F9a672
background-color = #1B1D1Eaa background-color = #1B1D1Eaa

View File

@@ -1,6 +1,6 @@
[{ {
"height": 0,
"position": "top", "position": "top",
"output": ["HDMI-A-1", "eDP-1"],
"modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["custom/webdav","clock", "custom/status"], "modules-center": ["custom/webdav","clock", "custom/status"],
"modules-right": ["tray", "pulseaudio", "backlight", "cpu", "memory", "battery"], "modules-right": ["tray", "pulseaudio", "backlight", "cpu", "memory", "battery"],
@@ -44,14 +44,4 @@
"icon-size": 21, "icon-size": 21,
"spacing": 5 "spacing": 5
}, },
}, { }
"width": 0,
"position": "right",
"output": "HDMI-A-2",
"modules-left": [ "hyprland/workspaces"],
}, {
"width": 0,
"position": "left",
"output": "DP-1",
"modules-left": [ "hyprland/workspaces"],
}]

View File

@@ -6,6 +6,3 @@ else
PS1='\u@\h:\w\$ ' PS1='\u@\h:\w\$ '
fi fi
# Added by GitLab Knowledge Graph installer
export PATH="$HOME/.local/bin:$PATH"

View File

@@ -8,9 +8,6 @@ bind-key u new-window -d -n fzf-switcher "bash -c '~/projects/scripts/find_gits.
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}' bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
#bind-key -n M-9 run-shell "tmux last-window; tmux select-window -t 9; tmux send-keys '!!' Enter; tmux last-window" #bind-key -n M-9 run-shell "tmux last-window; tmux select-window -t 9; tmux send-keys '!!' Enter; tmux last-window"
bind-key & kill-window
bind-key x kill-pane
############# Cosmetics ############# Cosmetics
set-option -g status-bg black set-option -g status-bg black
set-option -g status-fg white set-option -g status-fg white

View File

@@ -1,7 +1,5 @@
source $HOME/.common_shell source $HOME/.common_shell
export TERM="alacritty"
bindkey '^R' history-incremental-search-backward bindkey '^R' history-incremental-search-backward
bindkey -v bindkey -v
@@ -74,9 +72,3 @@ fi
if [ -f "/etc/NIXOS" ]; then if [ -f "/etc/NIXOS" ]; then
eval "$(starship init zsh)" eval "$(starship init zsh)"
fi fi
# opencode
export PATH=/home/jonas/.opencode/bin:$PATH
# Added by GitLab Knowledge Graph installer
export PATH="$HOME/.local/bin:$PATH"

View File

@@ -11,15 +11,11 @@ export MANPAGER="nvim +Man!"
export GOPATH=$HOME/.go export GOPATH=$HOME/.go
export PATH=$HOME/.go/bin:$PATH export PATH=$HOME/.go/bin:$PATH
export ANDROID_HOME=/home/jonas/Android export ANDROID_HOME=/home/jonas/Android
export NAP_CONFIG="~/.config/nap/config.yaml"
export loc="$HOME/files_local/" export loc="$HOME/files_local/"
alias oati="~/projects/scripts/oathi.sh" alias oati="~/projects/scripts/oathi.sh"
alias imu="immich upload -r ."
alias chch="~/projects/scripts/check_git.sh" alias chch="~/projects/scripts/check_git.sh"
alias rp="rsync --info=progress2 -a --checksum"
alias aut="~/projects/scripts/autostart-server.sh" alias aut="~/projects/scripts/autostart-server.sh"
alias tt="~/projects/scripts/find_gits.sh" alias tt="~/projects/scripts/find_gits.sh"
alias on="nvim ~/projects/planner/quick.md" alias on="nvim ~/projects/planner/quick.md"
@@ -32,7 +28,7 @@ alias ff="~/projects/scripts/hyprfix.sh" # Fix the touchpad not working on the l
alias sp="spotify_player" alias sp="spotify_player"
alias ne="newsboat" alias ne="newsboat"
alias po="castero" alias po="castero"
alias h="~/projects/scripts/shell/helper.sh" alias h="zsh"
alias tw="torify w3m duckduckgo.com" alias tw="torify w3m duckduckgo.com"
alias rmbak="mkdir -p ~/.local/share/Trash/files && find . -name '.bak.*' -exec mv '{}' ~/.local/share/Trash/files \;" alias rmbak="mkdir -p ~/.local/share/Trash/files && find . -name '.bak.*' -exec mv '{}' ~/.local/share/Trash/files \;"
alias f="~/projects/scripts/search.sh" alias f="~/projects/scripts/search.sh"
@@ -42,7 +38,7 @@ alias lg="lazygit"
alias m="make" alias m="make"
alias mn="make nix" alias mn="make nix"
alias syn="~/projects/scripts/run_unison.sh" alias syn="~/projects/scripts/run_unison.sh"
alias s="sync" alias s="~/projects/scripts/run_unison.sh"
alias rmt="rm /tmp/all_git_projects" alias rmt="rm /tmp/all_git_projects"
alias fu="chch && fla && shd" alias fu="chch && fla && shd"
alias fla="sudo nixos-rebuild switch --flake ~/nixos#" alias fla="sudo nixos-rebuild switch --flake ~/nixos#"
@@ -58,7 +54,7 @@ alias t="todo.sh"
alias tl="todo.sh list" alias tl="todo.sh list"
alias td="todo.sh do" alias td="todo.sh do"
alias de="sudo loadkeys de" alias de="sudo loadkeys de"
alias us="~/projects/scripts/shell/uni_setup.sh > /dev/zero 2>&1" alias us="sudo loadkeys us"
alias b="btop" alias b="btop"
alias c="cat" alias c="cat"
alias chch="~/projects/scripts/check_git.sh" alias chch="~/projects/scripts/check_git.sh"
@@ -67,11 +63,7 @@ alias gui="Hyprland && clear"
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias tofiu='rm ~/.cache/tofi-drun' alias tofiu='rm ~/.cache/tofi-drun'
alias ll='exa -la ' alias ll='exa -la '
alias shd="systemctl poweroff" alias shd="shutdown now"
alias nt="nvim ~/Nextcloud/Notes/in.txt"
alias upda="~/projects/scripts/shell/up.sh"
alias ttt='timer -f 10m' alias ttt='timer -f 10m'
alias zshconfig="mate ~/.zshrc" alias zshconfig="mate ~/.zshrc"
alias giter="git add . && git commit -a -m 'auto commit' && git push" alias giter="git add . && git commit -a -m 'auto commit' && git push"
@@ -80,23 +72,3 @@ alias oiiiii="bash ~/management/office/sync.sh in"
alias ou="bash ~/management/office/sync.sh out" alias ou="bash ~/management/office/sync.sh out"
alias aiiiii="bash ~/projects/scripts/sync_all.sh in" alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
alias au="bash ~/projects/scripts/sync_all.sh out" alias au="bash ~/projects/scripts/sync_all.sh out"
alias ia="ip a"
alias sn="nohup 'nextcloud' > /dev/zero &"
alias pdf="~/projects/scripts/shell/traverse_pdf.sh"
alias ud="~/projects/scripts/shell/traverse_pdf.sh ~/projects/university ~/Nextcloud/University"
alias rnt="~/projects/scripts/shell/traverse_rnote.sh ~/Nextcloud/University ~/Nextcloud/HandNotes"
alias typ="~/projects/scripts/shell/traverse_typst.sh ~/projects/university"
alias mt="mkdir -p ~/Notecloud && rclone mount Strato: ~/Notecloud"
alias tp="~/projects/scripts/shell/open_sess.sh"
# From gpt
alias nv='tmux new-session -d -s university -n uni "cd ~/projects/university && nvim -c '\''lua require(\"custom.uni\").select_course_directory()'\''" && tmux new-window -t university:2 -n typstar "cd ~/projects/typstar; exec $SHELL" && tmux select-window -t university:1 && tmux attach -t university'
alias gre='grep -C 7 '
alias f='nvim -c "lua vim.defer_fn(function() require(\"utils.functions\").fzf_wrapped(\"find\") end, 100)"'
alias g='nvim -c "lua vim.defer_fn(function() require(\"utils.functions\").fzf_wrapped(\"grep\") end, 100)"'
alias kn="killall .nextcloud-wrapped"
alias vim="nvim"
alias kh="kmonad ~/dotfiles/home/dot-kmonad/hyper.kbd"

View File

@@ -1,68 +0,0 @@
(defcfg
input (device-file "/dev/input/by-id/usb-HyperX_Alloy_Elite_RGB_HyperX_Alloy_Elite_RGB-event-kbd")
output (uinput-sink "Jonas kmonad modified output")
cmp-seq ralt
cmp-seq-delay 5
key-seq-delay 5
fallthrough true
allow-cmd true
implicit-around around
)
(defsrc
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 nlck kp/ kp* kp-
tab q w e r t y u i o p [ ] ret del end pgdn kp7 kp8 kp9 kp+
caps a s d f g h j k l ; ' \ kp4 kp5 kp6
lsft 102d z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
)
(defalias
caps (tap-hold-next 200 esc lctl)
symbols (layer-toggle symbols)
neo (layer-switch neo)
specials (layer-toggle specials)
default (layer-switch default)
)
(deflayer default
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq XX XX
grv 1 2 3 4 5 6 7 8 9 0 - = bspc XX XX XX XX XX XX XX
tab q w e r t y u i o p [ ] ret XX XX XX XX XX XX XX
@caps a s d f g h j k l ; @symbols @symbols XX XX XX
rsft @specials z x c v b n m , . / rsft up XX XX XX XX
@neo lalt lmet spc lalt XX XX XX left down rght XX XX
)
;; Inspired from neo, graphite and enthium
(deflayer neo
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq XX XX
XX 1 2 3 4 5 6 7 8 9 0 XX XX bspc XX XX XX XX XX XX XX
tab b l d w z _ f o u j XX XX ret XX XX XX XX XX XX XX
@caps n r t s g y h a e i @symbols @symbols XX XX XX
lsft @specials q x m c v k p _ _ _ rsft up XX XX XX XX
@default lalt lmet spc lalt XX XX XX left down rght XX XX
)
(deflayer symbols
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- \ / [ ] ^ ! < > @ _ _ _ _ _ _ _ _ _ _ _
= ' " { } * ? \( \) _ _ _ _ _ _ _
_ _ # $ | ~ ` + % _ _ _ _ _ _ _ _ _
_ _ & \_ _ _ _ _ _ _ _ _ _
)
(deflayer specials
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ ä ö ü ß _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
)

View File

@@ -1,77 +0,0 @@
(defcfg
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "Jonas kmonad modified output")
cmp-seq ralt
cmp-seq-delay 5
key-seq-delay 5
fallthrough true
allow-cmd true
implicit-around around
)
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] ret
caps a s d f g h j k l ; ' \
lsft lsgt z x c v b n m , . / rsft
lctl lmet lalt spc ralt rmet cmp rctl
)
(defalias
symbols (layer-toggle symbols)
specials (layer-toggle specials)
numbers (layer-toggle numbers)
graphite (layer-switch graphite)
default (layer-switch default)
mod1 @symbols
mod2 @specials
caps (tap-hold-next 200 esc lctl)
tab (tap-hold-next 200 tab @mod2)
middle ret
)
(deflayer default
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
@tab q w e r t y u i o p [ ] ret
@caps a s d f g h j k l ; @mod1 \
rsft @mod1 z x c v b n m , . / rsft
@graphite lalt lmet spc @mod2 XX XX XX
)
(deflayer graphite
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
@tab b l d w z @middle f o u j [ ] ret
@caps n r t s g y h a e i @mod1 \
rsft @mod1 q x m c v k p , . / rsft
@default lalt lmet spc @mod2 XX XX XX
)
(deflayer symbols
_ _ _ _ _ _ _ _ _ _ _ _ _ _
` \ [ ] / ^ _ # < > $ _ _ _
= ' " { } ! ? \( \) @ & _ _
_ _ ~ - | \_ _ % + * _ _ _
_ _ _ _ _ _ _ _
)
(deflayer specials
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ ö ü _ _ _ _
_ _ _ _ ß _ _ _ ä _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
)
(deflayer numbers
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ 6 7 8 9 0 _ _
_ _ _ _ _ _ _ 1 2 3 4 5 _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
)

View File

@@ -28,22 +28,6 @@ Host physik
User j.hahn02 User j.hahn02
IdentityFile ~/.ssh/id_university IdentityFile ~/.ssh/id_university
Host theo_bitzz
HostName bitzz.de
User theo
IdentityFile ~/.ssh/id_theo
Host informatik Host informatik
HostName shell.informatik.uni-goettingen.de HostName shell.informatik.uni-goettingen.de
User j.hahn02 User j.hahn02
Host dock
HostName paper.ascyii.de
Port 24
User admin
Host git.ascyii.de
HostName git.ascyii.de
Port 222
User admin
IdentityFile ~/.ssh/id_gitea