mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 15:04:24 -05:00
Compare commits
38 Commits
testing
...
fb1f460138
| Author | SHA1 | Date | |
|---|---|---|---|
| fb1f460138 | |||
| e65c0afab5 | |||
| 4c3e50e943 | |||
| f78b1de0e3 | |||
| b4c63f0f3f | |||
| 60d6874bfe | |||
| 9e030dae5e | |||
| 7cc3d26c3b | |||
| 25a8f64577 | |||
| 77a4f39d30 | |||
| 62934f3d62 | |||
| 12090021ff | |||
| 332341a7e0 | |||
| 50682cdd0f | |||
| 49aecc271d | |||
| c1815ecf2b | |||
| 2485c1e3df | |||
| 89bc721683 | |||
| dea41fa863 | |||
| 413a01f064 | |||
| da1ba40562 | |||
| 1aab8e3bc0 | |||
| c29131ae7e | |||
| 06d24c07e0 | |||
| 27c5994f44 | |||
| 9b8425338b | |||
| afe6ede77a | |||
| 73e14e60bf | |||
| 1c32e4e3d2 | |||
| 606d911930 | |||
| 534f4ba863 | |||
| 58a9c54a03 | |||
| 55048de4f9 | |||
| a7be299718 | |||
| cb0b630585 | |||
| 4695dcb650 | |||
| c4df6d68a5 | |||
| 3c4424c556 |
@@ -5,3 +5,7 @@ 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
Executable file
5
all.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
bash stow.sh cli
|
||||||
|
bash stow.sh gui
|
||||||
|
bash stow.sh home
|
||||||
@@ -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 = True
|
theme_background = False
|
||||||
|
|
||||||
#* 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
|
||||||
@@ -60,7 +60,7 @@ update_ms = 2000
|
|||||||
proc_sorting = "cpu lazy"
|
proc_sorting = "cpu lazy"
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
#* Reverse sorting order, True or False.
|
||||||
proc_reversed = False
|
proc_reversed = True
|
||||||
|
|
||||||
#* 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 = True
|
show_disks = False
|
||||||
|
|
||||||
#* 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
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ 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"
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ 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]
|
||||||
|
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ salt = on
|
|||||||
|
|
||||||
[data]
|
[data]
|
||||||
__passphrase__ = on
|
__passphrase__ = on
|
||||||
libera_password = "A4AE45D22CFB0C1925758BD65F1EC012311404966DFCFDB714E0150D3F17E867AB969A616A06BDF9F7F5B7443249552EF3B613D8F40AECE9D164"
|
libera_password = "B0880AFBE996D9870D77AFB8160D7949A56A4903CDAFF670A8ED66232CCE98D5561BC45D60F7DBF9E974E63E5A9486234C3E32632366BDD1A81B"
|
||||||
|
|||||||
@@ -138,8 +138,10 @@ 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
|
||||||
@@ -231,7 +233,9 @@ 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
|
||||||
|
|||||||
35
cli/dot-config/yazi/init.lua
Normal file
35
cli/dot-config/yazi/init.lua
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
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
|
||||||
@@ -10,9 +10,13 @@ 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" },
|
||||||
@@ -32,18 +36,19 @@ 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" },
|
||||||
{ on = [ "g", "w" ], run = "cd ~/workspace_local", desc = "Go to workspace" },
|
{ on = [ "g", "w" ], run = "cd ~/workspace", desc = "Go to workspace" },
|
||||||
{ on = [ "g", "e" ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
|
{ on = [ "g", "e" ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
|
||||||
{ 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", "o" ], run = "cd ~/Documents", desc = "Go to Docs" },
|
{ on = [ "g", "x" ], run = "cd ~/Nextcloud", desc = "Go to nextcloud" },
|
||||||
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" },
|
{ 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", desc = "Go to Uni" },
|
||||||
|
{ on = [ "g", "C" ], run = "cd ~/projects/university/S3", desc = "Go to current semester" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ hash = "ee71543790f0ce3951161045a3787abd"
|
|||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "yazi-rs/plugins:chmod"
|
use = "yazi-rs/plugins:chmod"
|
||||||
rev = "d1c8baa"
|
rev = "8f1d971"
|
||||||
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "boydaihungst/restore"
|
use = "boydaihungst/restore"
|
||||||
rev = "dc40509"
|
rev = "2161735"
|
||||||
hash = "e7e377f9b1bbaca4a2e5d9ec9709ac4d"
|
hash = "901741afba1979739b4650324265162e"
|
||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "pirafrank/what-size"
|
use = "pirafrank/what-size"
|
||||||
@@ -23,6 +23,31 @@ 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"
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
[mgr]
|
[mgr]
|
||||||
sort_by = "extension"
|
sort_by = "mtime"
|
||||||
|
linemode = "line_info"
|
||||||
|
sort_reverse = true
|
||||||
|
sort_dir_first = true
|
||||||
show_hidden = false
|
show_hidden = false
|
||||||
|
mouse_events = []
|
||||||
|
|
||||||
[opener]
|
[opener]
|
||||||
imagefeh = [
|
image = [
|
||||||
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
|
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
|
||||||
]
|
]
|
||||||
play = [
|
play = [
|
||||||
@@ -16,6 +20,9 @@ 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" },
|
||||||
@@ -23,10 +30,20 @@ prepend_rules = [
|
|||||||
{ name = "*.html", use = [ "open" ] },
|
{ name = "*.html", use = [ "open" ] },
|
||||||
]
|
]
|
||||||
rules = [
|
rules = [
|
||||||
{ mime = "image/*", use = "imagefeh" },
|
{ mime = "image/*", use = "image" },
|
||||||
{ mime = "text/*", use = "edit" },
|
{ mime = "text/*", use = "edit" },
|
||||||
{ mime = "video/*", use = "play" },
|
{ mime = "video/*", use = "play" },
|
||||||
]
|
]
|
||||||
append_rules = [
|
append_rules = [
|
||||||
{ name = "*", use = ["edit", "open", "play"]}
|
{ name = "*", use = ["edit", "open", "image", "play"]}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[plugin.prepend_fetchers]]
|
||||||
|
id = "git"
|
||||||
|
name = "*"
|
||||||
|
run = "git"
|
||||||
|
|
||||||
|
[[plugin.prepend_fetchers]]
|
||||||
|
id = "git"
|
||||||
|
name = "*/"
|
||||||
|
run = "git"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Main dunst configuration
|
# Main dunst configuration
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
monitor = 0
|
monitor = 2 # For the multi monitor setup
|
||||||
follow = none
|
follow = none
|
||||||
origin = top-right
|
origin = top-right
|
||||||
offset = 5 x 15
|
offset = 5 x 15
|
||||||
@@ -28,7 +28,6 @@
|
|||||||
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
|
||||||
@@ -38,4 +37,3 @@
|
|||||||
|
|
||||||
corner_radius = 5
|
corner_radius = 5
|
||||||
corners = bottom, top-left
|
corners = bottom, top-left
|
||||||
|
|
||||||
|
|||||||
@@ -11,11 +11,10 @@ input:tablet {
|
|||||||
active_area_position = 35, 30
|
active_area_position = 35, 30
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
|
|
||||||
$terminal = alacritty
|
$terminal = alacritty
|
||||||
$menu = tofi-drun --terminal=kitty | sh
|
$menu = tofi-drun --terminal="alacritty -e" | sh
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
|
|
||||||
@@ -24,7 +23,21 @@ 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/rnote_mapper.sh
|
exec-once = sleep 5 && nextcloud
|
||||||
|
|
||||||
|
# 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'
|
||||||
@@ -40,10 +53,14 @@ 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=0,monitor:DP-1
|
workspace=13,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
|
||||||
@@ -84,6 +101,7 @@ 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
|
||||||
@@ -106,6 +124,10 @@ 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
|
||||||
@@ -116,6 +138,10 @@ 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
|
||||||
@@ -137,6 +163,7 @@ 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)
|
||||||
@@ -168,7 +195,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
|
||||||
@@ -199,25 +226,43 @@ windowrulev2 = size 900 500, title:(Open File)
|
|||||||
|
|
||||||
# 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 = tile, class:(sioyek)
|
windowrulev2 = float, title:(Preferences)
|
||||||
|
|
||||||
|
windowrulev2 = float, title:(Add)
|
||||||
|
|
||||||
windowrulev2 = size 450 450, class:(Gnuplot)
|
windowrulev2 = size 450 450, class:(Gnuplot)
|
||||||
windowrulev2 = move 100 203100, class:(Gnuplot)
|
windowrulev2 = move 100 203, class:(Gnuplot)
|
||||||
|
|
||||||
windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt)
|
windowrulev2 = float, class:(qalculate-qt)
|
||||||
windowrulev2 = size 700 700, class:(Qalculate!)
|
windowrulev2 = move 700 200, class:(qalculate-qt)
|
||||||
|
windowrulev2 = size 700 700, class:(qalculate-qt)
|
||||||
|
#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 800 250, class:(org.pulseaudio.pavucontrol)
|
windowrulev2 = size 700 800, 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)
|
||||||
|
|||||||
18
gui/dot-config/hypr/shaders/grayscale-custom.glsl
Normal file
18
gui/dot-config/hypr/shaders/grayscale-custom.glsl
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#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);
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@ font = NotoFont
|
|||||||
font-size = 14
|
font-size = 14
|
||||||
|
|
||||||
outline-width = 0
|
outline-width = 0
|
||||||
border-width = 1
|
border-width = 2
|
||||||
padding-left = 4%
|
padding-left = 4%
|
||||||
padding-top = 2%
|
padding-top = 2%
|
||||||
|
|
||||||
@@ -10,17 +10,16 @@ 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 = 20%
|
width = 30%
|
||||||
height = 40%
|
height = 30%
|
||||||
anchor = bottom-right
|
|
||||||
margin-top = 100
|
anchor = top
|
||||||
margin-bottom = 100
|
margin-top = 250
|
||||||
input-background = #1234
|
input-background = #1234
|
||||||
margin-left = 100
|
|
||||||
margin-right = 100
|
|
||||||
|
|
||||||
hide-cursor = false
|
hide-cursor = false
|
||||||
corner-radius = 10
|
corner-radius = 7
|
||||||
border-color = #F9a672
|
border-color = #F9a672
|
||||||
background-color = #1B1D1Eaa
|
background-color = #1B1D1Eaa
|
||||||
|
|||||||
@@ -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,4 +44,14 @@
|
|||||||
"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"],
|
||||||
|
}]
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
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
|
||||||
|
|
||||||
@@ -72,3 +74,6 @@ 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
|
||||||
|
|||||||
@@ -15,7 +15,10 @@ export ANDROID_HOME=/home/jonas/Android
|
|||||||
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"
|
||||||
@@ -28,7 +31,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="zsh"
|
alias h="~/projects/scripts/shell/helper.sh"
|
||||||
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"
|
||||||
@@ -54,7 +57,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="sudo loadkeys us"
|
alias us="~/projects/scripts/shell/uni_setup.sh > /dev/zero 2>&1"
|
||||||
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"
|
||||||
@@ -63,7 +66,11 @@ 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="shutdown now"
|
alias shd="systemctl poweroff"
|
||||||
|
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"
|
||||||
@@ -72,3 +79,20 @@ 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 se="killall .nextcloud-wrap"
|
||||||
|
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)"'
|
||||||
|
|||||||
@@ -31,3 +31,14 @@ Host physik
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user