Compare commits
30 Commits
vm_additio
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6e2200775 | ||
|
|
2531df8030 | ||
|
|
f46d26a970 | ||
|
|
a86d57d15e | ||
|
|
f01baf5e9a | ||
|
|
9b9cb71dd1 | ||
|
|
6198339a91 | ||
|
|
0ee0cb74fc | ||
|
|
99242f45d6 | ||
|
|
c4ce57e078 | ||
|
|
4ee09b005f | ||
|
|
00304c36bd | ||
|
|
7eb6c68584 | ||
|
|
18308dcf80 | ||
|
|
c476433802 | ||
| 5048256055 | |||
|
|
67899b3b88 | ||
|
|
4fe900d3d1 | ||
|
|
4bada3b6df | ||
|
|
0b3cae7677 | ||
|
|
11399f4fc4 | ||
|
|
03a185750a | ||
|
|
0c4e3d114d | ||
|
|
7893dfc253 | ||
|
|
bcc20eca75 | ||
|
|
39d4386ad3 | ||
|
|
3826000ef8 | ||
|
|
01ea9b586f | ||
|
|
6e3e825c48 | ||
| 5023c9be18 |
53
README.md
Normal file
53
README.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# dot files
|
||||
|
||||
🚧 ⚠️ Under Construction 👷 🏗️ 🚧
|
||||
|
||||
Collection of my dot files managed with `chezmoi`
|
||||
|
||||
## Todo
|
||||
|
||||
... lots of
|
||||
|
||||
## tmux
|
||||
|
||||
List of tmux plugins and config, so I can remember what I was doing
|
||||
|
||||
- [easyjump.tmux](https://github.com/roy2220/easyjump.tmux) - lets you navigate on screen by typing letters
|
||||
|
||||
## nvim
|
||||
|
||||
### emoji.nvim
|
||||
|
||||
Using [Allaman/emoji.nvim](https://github.com/Allaman/emoji.nvim) to have some emoji picker.
|
||||
|
||||
Had to change
|
||||
|
||||
```
|
||||
-- is not vim.fn.stdpath("data") .. "/lazy/
|
||||
plugin_path = vim.fn.expand("$HOME/plugins/"),
|
||||
```
|
||||
|
||||
to
|
||||
|
||||
```
|
||||
-- is not vim.fn.stdpath("data") .. "/lazy/
|
||||
-- plugin_path = vim.fn.expand("$HOME/plugins/"),
|
||||
```
|
||||
|
||||
to make the plugin load the `emoji2.json` from correct path! Otherwise it will fail with an error message that it can't find the emoji path 🤦
|
||||
|
||||
|
||||
## nano
|
||||
|
||||
## git
|
||||
|
||||
## zsh
|
||||
|
||||
## ansible
|
||||
|
||||
### dot bootstrap
|
||||
|
||||
contains several setup.yamls to be run on different machines. constuction site!
|
||||
|
||||
|
||||
|
||||
@@ -22,3 +22,5 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
|
||||
|
||||
alias ls="exa -bghHliS --icons"
|
||||
alias diff="colordiff"
|
||||
|
||||
alias lsblkinfo="lsblk -o NAME,MAJ:MIN,RM,SIZE,RO,TYPE,FSSIZE,FSAVAIL,FSUSED,FSUSE%,MOUNTPOINTS,UUID"
|
||||
|
||||
26
dot_bootstrap/flatpak.yml
Normal file
26
dot_bootstrap/flatpak.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
- name: Install Flatpak Applications Configuration to {{ ansible_hostname }}
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: true
|
||||
|
||||
tasks:
|
||||
- name: Install Flatpak Applications
|
||||
community.general.flatpak:
|
||||
remote: "flathub"
|
||||
state: "present"
|
||||
name:
|
||||
- im.dino.Dino
|
||||
- org.gajim.Gajim
|
||||
- org.keepassxc.KeePassXC
|
||||
- com.github.PintaProject.Pinta
|
||||
- org.qownnotes.QOwnNotes
|
||||
- org.localsend.localsend_app
|
||||
- org.gnome.World.PikaBackup
|
||||
- dev.geopjr.Tuba
|
||||
- in.cinny.Cinny
|
||||
- chat.schildi.desktop
|
||||
- com.makemkv.MakeMKV
|
||||
- com.jgraph.drawio.desktop
|
||||
- io.github.flattool.Warehouse
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Get my user
|
||||
- name: Get my user name
|
||||
ansible.builtin.set_fact:
|
||||
regular_user: "{{ ansible_env.SUDO_USER or ansible_user_id }}"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
- git
|
||||
- zsh
|
||||
- htop
|
||||
- btop
|
||||
- fzf
|
||||
- zoxide
|
||||
- bat
|
||||
@@ -34,8 +35,39 @@
|
||||
- nmap
|
||||
- tcpdump
|
||||
- fd-find
|
||||
- xfce4-clipman
|
||||
- speedcrunch
|
||||
- feh
|
||||
- mpv
|
||||
- puddletag
|
||||
ignore_errors: true
|
||||
|
||||
- name: Find path to feh binary
|
||||
ansible.builtin.command: which feh
|
||||
register: feh_path
|
||||
changed_when: false
|
||||
failed_when: feh_path.rc != 0
|
||||
|
||||
- name: Create symlink to feh as ffeh
|
||||
ansible.builtin.file:
|
||||
src: "{{ feh_path.stdout }}"
|
||||
dest: "~{{ regular_user }}/.local/bin/ffeh"
|
||||
owner: "{{ regular_user }}"
|
||||
group: "{{ regular_user }}"
|
||||
state: link
|
||||
become: yes
|
||||
become_user: "{{ regular_user }}"
|
||||
|
||||
- name: Create symlink to feh as ffehr
|
||||
ansible.builtin.file:
|
||||
src: "{{ feh_path.stdout }}"
|
||||
dest: "~{{ regular_user }}/.local/bin/ffehr"
|
||||
owner: "{{ regular_user }}"
|
||||
group: "{{ regular_user }}"
|
||||
state: link
|
||||
become: yes
|
||||
become_user: "{{ regular_user }}"
|
||||
|
||||
- name: Install additionall packages...
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
|
||||
20
dot_config/feh/themes
Normal file
20
dot_config/feh/themes
Normal file
@@ -0,0 +1,20 @@
|
||||
## works okayish...
|
||||
feh -r --auto-zoom --draw-filename --scale-down -g 1280x1080+2000+1000 --xinerama-index 1
|
||||
|
||||
#feh -r --auto-zoom --draw-filename --scale-down -g 1280x1080--xinerama-index 1
|
||||
|
||||
#--xinerama-index 0
|
||||
|
||||
|
||||
ffehr -r --auto-zoom --scale-down -g 640x480+2000+1000 -d --draw-actions --auto-rotate \
|
||||
--action1 ";[Add to filelist] echo '%F' >> `date +%Y%m%d`_feh-filelist.txt" \
|
||||
--action2 ";[Add to favs] mkdir -p favourites && ln -s %F favourites/" \
|
||||
--action3 ";[Launch MPV] mpv --loop-playlist --geometry=640x480 %F"
|
||||
# --action4 ";[Info] zenity --info --text=\"$(echo \"%g\" | awk -F: '{split($0, array, \",\"); print array [1]\"x\" array[2]}'\")"
|
||||
# --action5 ";[geometry] mpv --geometry=$(echo %g" | awk -F: '{split($0, array, ","); print array[1]"x"array[2]}')"
|
||||
|
||||
ffeh --auto-zoom --scale-down -g 640x480+2000+1000 -d --draw-actions --auto-rotate \
|
||||
--action1 ";[Add to filelist] echo '%F' >> `date +%Y%m%d`_feh-filelist.txt" \
|
||||
--action2 ";[Add to favs] mkdir -p favourites && ln -s ../%F favourites/"
|
||||
|
||||
#--info "exifgrep '(Model|DateTimeOriginal|FNumber|ISO|Flash)' %F | cut -d . -f 4-" .
|
||||
23029
dot_config/ghb/presets.json
Normal file
23029
dot_config/ghb/presets.json
Normal file
File diff suppressed because it is too large
Load Diff
28
dot_config/nvim/lua/plugins/emoji-nvim.lua
Normal file
28
dot_config/nvim/lua/plugins/emoji-nvim.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
return {
|
||||
"allaman/emoji.nvim",
|
||||
version = "1.0.0", -- optionally pin to a tag
|
||||
ft = "markdown", -- adjust to your needs
|
||||
dependencies = {
|
||||
-- util for handling paths
|
||||
"nvim-lua/plenary.nvim",
|
||||
-- optional for nvim-cmp integration
|
||||
"hrsh7th/nvim-cmp",
|
||||
-- optional for telescope integration
|
||||
"nvim-telescope/telescope.nvim",
|
||||
-- optional for fzf-lua integration via vim.ui.select
|
||||
"ibhagwan/fzf-lua",
|
||||
},
|
||||
opts = {
|
||||
-- default is false, also needed for blink.cmp integration!
|
||||
enable_cmp_integration = false,
|
||||
-- optional if your plugin installation directory
|
||||
-- is not vim.fn.stdpath("data") .. "/lazy/
|
||||
-- plugin_path = vim.fn.expand("$HOME/plugins/"),
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("emoji").setup(opts)
|
||||
-- optional for telescope integration
|
||||
local ts = require('telescope').load_extension 'emoji'
|
||||
vim.keymap.set('n', '<leader>se', ts.emoji, { desc = '[S]earch [E]moji' })
|
||||
end,
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>?",
|
||||
function()
|
||||
require("which-key").show({ global = false })
|
||||
end,
|
||||
desc = "Buffer Local Keymaps (which-key)",
|
||||
},
|
||||
},
|
||||
}
|
||||
122
dot_config/private_Thunar/private_uca.xml
Normal file
122
dot_config/private_Thunar/private_uca.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>Terminal</icon>
|
||||
<name>Open in Terminal</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1669963337280897-1</unique-id>
|
||||
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
|
||||
<description>Open terminal in the selected folder</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>folder</icon>
|
||||
<name>Open as Root</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1669963337281040-2</unique-id>
|
||||
<command>pkexec thunar %F</command>
|
||||
<description>Open the folder with administration privileges</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>emblem-symbolic-link</icon>
|
||||
<name>Create a Link</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1669963337281176-3</unique-id>
|
||||
<command>ln -s %f 'Link to %n'</command>
|
||||
<description>Create a symbolic link for each selected item</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
<other-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>gnome-run</icon>
|
||||
<name>Check SHA256</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1669963337281192-4</unique-id>
|
||||
<command>mint-sha256sum %f</command>
|
||||
<description>Computes SHA256 checksum for the selected file.</description>
|
||||
<range></range>
|
||||
<patterns>*.iso;*.ISO</patterns>
|
||||
<audio-files/>
|
||||
<image-files/>
|
||||
<other-files/>
|
||||
<text-files/>
|
||||
<video-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>gtk-find</icon>
|
||||
<name>Search</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1669963337281336-5</unique-id>
|
||||
<command>catfish %f</command>
|
||||
<description>Search for Files</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>feh</icon>
|
||||
<name>feh 600</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1687434831182019-1</unique-id>
|
||||
<command>feh --scale-down --auto-zoom -g 600x400 %F</command>
|
||||
<description>Start with Feh in fixed geometry 600px</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
<image-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>feh</icon>
|
||||
<name>ffehr</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1687435443947580-2</unique-id>
|
||||
<command>ffehr %F</command>
|
||||
<description>feh with fixed geo Recursive</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
<image-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>feh</icon>
|
||||
<name>ffeh</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1687435463907387-3</unique-id>
|
||||
<command>ffeh %F</command>
|
||||
<description>feh fixed geometry</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
<image-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>feh</icon>
|
||||
<name>ffehr1200</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1687516674179638-1</unique-id>
|
||||
<command>ffehr -g 1200x800+2000+1000 %F</command>
|
||||
<description>ffehr with 1200px</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
<image-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>puddletag</icon>
|
||||
<name>Puddletag here</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1751361566775398-1</unique-id>
|
||||
<command>puddletag %f</command>
|
||||
<description>Starts Puddletag in this folder</description>
|
||||
<range>*</range>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
</actions>
|
||||
15
dot_config/private_gtk-3.0/bookmarks
Normal file
15
dot_config/private_gtk-3.0/bookmarks
Normal file
@@ -0,0 +1,15 @@
|
||||
file:///home/sebastian/Documents/ebooks
|
||||
file:///home/sebastian/Documents
|
||||
file:///home/sebastian/Music
|
||||
file:///home/sebastian/Pictures
|
||||
file:///home/sebastian/Videos
|
||||
file:///home/sebastian/Downloads
|
||||
file:///home/sebastian/Warpinator
|
||||
file:///home/sebastian/Documents/TuxedoCloud
|
||||
sftp://helios4/srv/dev-disk-by-label-StorageA Helios4
|
||||
sftp://dumbolino/srv/dev-disk-by-label-StorageA Dumbolino
|
||||
file:///home/sebastian/Documents/MagentaCLOUD
|
||||
file:///home/sebastian/Documents/Nextcloud
|
||||
file:///home/sebastian/Sandra/Nextcloud SandraNextcloud
|
||||
davs://www.vhs.cloud/webdav.php
|
||||
sftp://chipmunk/home/sebastian/mount/data data@chipmunk
|
||||
@@ -5,6 +5,15 @@ set -ga terminal-overrides ",xterm-256color:Tc"
|
||||
# enable Mouse Mode
|
||||
set -g mouse off
|
||||
|
||||
# Enable UTF-8
|
||||
#set -g utf8 on
|
||||
#set -g status-utf8 on
|
||||
|
||||
# Use true color (for Kitty + themes)
|
||||
#set -g default-terminal "tmux-256color"
|
||||
#set -as terminal-overrides ',xterm-256color:RGB'
|
||||
|
||||
|
||||
|
||||
# start window numbers at 1 to match keyboard order with tmux window order
|
||||
set -g base-index 1
|
||||
@@ -18,6 +27,11 @@ set-window-option -g pane-base-index 1
|
||||
|
||||
#set -g @tmux_power_theme 'forest'
|
||||
|
||||
#
|
||||
# Tmux Power
|
||||
#
|
||||
#
|
||||
|
||||
set -g @tmux_power_date_icon ' ' # set it to a blank will disable the icon
|
||||
set -g @tmux_power_time_icon '🕘' # emoji can be used if your terminal supports
|
||||
set -g @tmux_power_user_icon 'U'
|
||||
@@ -29,7 +43,13 @@ set -g @tmux_power_show_upload_speed true
|
||||
set -g @tmux_power_show_download_speed true
|
||||
# nice but too grey
|
||||
# set -g @tmux_power_theme 'snow'
|
||||
set -g @tmux_power_theme 'moon'
|
||||
#set -g @tmux_power_theme 'moon'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||
set -g @tmux_power_prefix_highlight_pos 'LR'
|
||||
|
||||
set -g @tmux_power_theme '#256C9D' # dark slate blue
|
||||
|
||||
|
||||
# if run as "tmux attach", create a session if one does not already exist
|
||||
#new-session -n $HOST
|
||||
@@ -72,8 +92,18 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'wfxr/tmux-power'
|
||||
set -g @plugin 'wfxr/tmux-net-speed'
|
||||
|
||||
set-option -g @plugin "roy2220/easyjump.tmux"
|
||||
|
||||
set -g @plugin "nordtheme/tmux"
|
||||
#set -g @plugin "nordtheme/tmux"
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
|
||||
# For Yazi image preview to work
|
||||
set -g allow-passthrough on
|
||||
set -ga update-environment TERM
|
||||
set -ga update-environment TERM_PROGRAM
|
||||
|
||||
|
||||
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
|
||||
@@ -0,0 +1,257 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<channel name="xfce4-keyboard-shortcuts" version="1.0">
|
||||
<property name="commands" type="empty">
|
||||
<property name="default" type="empty">
|
||||
<property name="<Alt>F1" type="empty"/>
|
||||
<property name="<Alt>F2" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Alt>F3" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Primary><Alt>Delete" type="empty"/>
|
||||
<property name="<Primary><Alt>l" type="empty"/>
|
||||
<property name="<Primary><Alt>t" type="empty"/>
|
||||
<property name="XF86Display" type="empty"/>
|
||||
<property name="<Super>p" type="empty"/>
|
||||
<property name="<Primary>Escape" type="empty"/>
|
||||
<property name="XF86WWW" type="empty"/>
|
||||
<property name="HomePage" type="empty"/>
|
||||
<property name="XF86Mail" type="empty"/>
|
||||
<property name="Print" type="empty"/>
|
||||
<property name="<Alt>Print" type="empty"/>
|
||||
<property name="<Shift>Print" type="empty"/>
|
||||
<property name="<Super>e" type="empty"/>
|
||||
<property name="<Primary><Alt>f" type="empty"/>
|
||||
<property name="<Primary><Alt>Escape" type="empty"/>
|
||||
<property name="<Primary><Shift>Escape" type="empty"/>
|
||||
<property name="<Super>r" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Alt><Super>s" type="empty"/>
|
||||
<property name="Super_L" type="empty"/>
|
||||
</property>
|
||||
<property name="custom" type="empty">
|
||||
<property name="<Alt>F2" type="string" value="xfce4-appfinder --collapsed">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="<Alt>Print" type="string" value="xfce4-screenshooter -w"/>
|
||||
<property name="<Super>r" type="string" value="xfce4-appfinder -c">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
|
||||
<property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
|
||||
<property name="<Alt>F3" type="string" value="xfce4-appfinder">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="Print" type="string" value="xfce4-screenshooter"/>
|
||||
<property name="<Primary>Escape" type="string" value="xfdesktop --menu"/>
|
||||
<property name="Super_L" type="string" value="xfce4-popup-whiskermenu"/>
|
||||
<property name="<Primary><Alt>Delete" type="string" value="xflock4"/>
|
||||
<property name="<Shift>Print" type="string" value="xfce4-screenshooter -r"/>
|
||||
<property name="<Primary><Alt>t" type="string" value="x-terminal-emulator"/>
|
||||
<property name="<Primary><Alt>f" type="string" value="thunar"/>
|
||||
<property name="<Primary><Alt>l" type="string" value="xflock4"/>
|
||||
<property name="<Alt>F1" type="string" value="xfce4-popup-applicationsmenu"/>
|
||||
<property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/>
|
||||
<property name="<Primary><Shift>Escape" type="string" value="xfce4-taskmanager"/>
|
||||
<property name="<Super>e" type="string" value="thunar"/>
|
||||
<property name="<Primary><Alt>Escape" type="string" value="xkill"/>
|
||||
<property name="HomePage" type="string" value="exo-open --launch WebBrowser"/>
|
||||
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
|
||||
<property name="override" type="bool" value="true"/>
|
||||
<property name="<Super>v" type="string" value="xfce4-popup-clipman"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="xfwm4" type="empty">
|
||||
<property name="default" type="empty">
|
||||
<property name="<Alt>Insert" type="empty"/>
|
||||
<property name="Escape" type="empty"/>
|
||||
<property name="Left" type="empty"/>
|
||||
<property name="Right" type="empty"/>
|
||||
<property name="Up" type="empty"/>
|
||||
<property name="Down" type="empty"/>
|
||||
<property name="<Alt>Tab" type="empty"/>
|
||||
<property name="<Alt><Shift>Tab" type="empty"/>
|
||||
<property name="<Alt>Delete" type="empty"/>
|
||||
<property name="<Primary><Alt>Down" type="empty"/>
|
||||
<property name="<Primary><Alt>Left" type="empty"/>
|
||||
<property name="<Shift><Alt>Page_Down" type="empty"/>
|
||||
<property name="<Alt>F4" type="empty"/>
|
||||
<property name="<Alt>F6" type="empty"/>
|
||||
<property name="<Alt>F7" type="empty"/>
|
||||
<property name="<Alt>F8" type="empty"/>
|
||||
<property name="<Alt>F9" type="empty"/>
|
||||
<property name="<Alt>F10" type="empty"/>
|
||||
<property name="<Alt>F11" type="empty"/>
|
||||
<property name="<Alt>F12" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Left" type="empty"/>
|
||||
<property name="<Primary><Alt>End" type="empty"/>
|
||||
<property name="<Primary><Alt>Home" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Right" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Up" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_1" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_2" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_3" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_4" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_5" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_6" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_7" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_8" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_9" type="empty"/>
|
||||
<property name="<Alt>space" type="empty"/>
|
||||
<property name="<Shift><Alt>Page_Up" type="empty"/>
|
||||
<property name="<Primary><Alt>Right" type="empty"/>
|
||||
<property name="<Primary><Alt>d" type="empty"/>
|
||||
<property name="<Primary><Alt>Up" type="empty"/>
|
||||
<property name="<Super>Tab" type="empty"/>
|
||||
<property name="<Primary>F1" type="empty"/>
|
||||
<property name="<Primary>F2" type="empty"/>
|
||||
<property name="<Primary>F3" type="empty"/>
|
||||
<property name="<Primary>F4" type="empty"/>
|
||||
<property name="<Primary>F5" type="empty"/>
|
||||
<property name="<Primary>F6" type="empty"/>
|
||||
<property name="<Primary>F7" type="empty"/>
|
||||
<property name="<Primary>F8" type="empty"/>
|
||||
<property name="<Primary>F9" type="empty"/>
|
||||
<property name="<Primary>F10" type="empty"/>
|
||||
<property name="<Primary>F11" type="empty"/>
|
||||
<property name="<Primary>F12" type="empty"/>
|
||||
<property name="<Super>KP_Left" type="empty"/>
|
||||
<property name="<Super>KP_Right" type="empty"/>
|
||||
<property name="<Super>KP_Down" type="empty"/>
|
||||
<property name="<Super>KP_Up" type="empty"/>
|
||||
<property name="<Super>KP_Page_Up" type="empty"/>
|
||||
<property name="<Super>KP_Home" type="empty"/>
|
||||
<property name="<Super>KP_End" type="empty"/>
|
||||
<property name="<Super>KP_Next" type="empty"/>
|
||||
<property name="<Control>F3" type="empty"/>
|
||||
<property name="<Control>F4" type="empty"/>
|
||||
<property name="<Control>F5" type="empty"/>
|
||||
<property name="<Control>F6" type="empty"/>
|
||||
<property name="<Control>F7" type="empty"/>
|
||||
<property name="<Control>F8" type="empty"/>
|
||||
<property name="<Control>F9" type="empty"/>
|
||||
<property name="<Control><Alt>Right" type="empty"/>
|
||||
<property name="<Control><Alt>d" type="empty"/>
|
||||
<property name="<Control><Shift><Alt>Left" type="empty"/>
|
||||
<property name="<Control><Shift><Alt>Right" type="empty"/>
|
||||
<property name="<Control><Alt>Down" type="empty"/>
|
||||
<property name="<Alt><Control>KP_1" type="empty"/>
|
||||
<property name="<Alt><Control>KP_2" type="empty"/>
|
||||
<property name="<Alt><Control>KP_3" type="empty"/>
|
||||
<property name="<Alt><Control>KP_4" type="empty"/>
|
||||
<property name="<Alt><Control>KP_5" type="empty"/>
|
||||
<property name="<Alt><Control>KP_6" type="empty"/>
|
||||
<property name="<Control><Shift><Alt>Up" type="empty"/>
|
||||
<property name="<Alt><Control>KP_8" type="empty"/>
|
||||
<property name="<Alt><Control>KP_9" type="empty"/>
|
||||
<property name="<Control><Alt>Up" type="empty"/>
|
||||
<property name="<Control>F10" type="empty"/>
|
||||
<property name="<Alt><Control>KP_7" type="empty"/>
|
||||
<property name="<Alt><Control>End" type="empty"/>
|
||||
<property name="<Control><Alt>Left" type="empty"/>
|
||||
<property name="<Control>F12" type="empty"/>
|
||||
<property name="<Alt><Control>Home" type="empty"/>
|
||||
<property name="<Control>F2" type="empty"/>
|
||||
<property name="<Control>F1" type="empty"/>
|
||||
<property name="<Control>F11" type="empty"/>
|
||||
</property>
|
||||
<property name="custom" type="empty">
|
||||
<property name="<Control>F3" type="string" value="workspace_3_key"/>
|
||||
<property name="<Alt>F7" type="string" value="move_window_key"/>
|
||||
<property name="<Control><Alt>Down" type="string" value="down_workspace_key"/>
|
||||
<property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/>
|
||||
<property name="<Control><Alt>Up" type="string" value="up_workspace_key"/>
|
||||
<property name="<Primary><Alt>Right" type="string" value="right_workspace_key"/>
|
||||
<property name="<Control>F4" type="string" value="workspace_4_key"/>
|
||||
<property name="<Control><Alt>d" type="string" value="show_desktop_key"/>
|
||||
<property name="<Alt>F8" type="string" value="resize_window_key"/>
|
||||
<property name="<Primary><Shift><Alt>Left" type="string" value="move_window_left_key"/>
|
||||
<property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
|
||||
<property name="<Primary><Alt>KP_1" type="string" value="move_window_workspace_1_key"/>
|
||||
<property name="<Primary><Alt>KP_2" type="string" value="move_window_workspace_2_key"/>
|
||||
<property name="<Super>Tab" type="string" value="switch_window_key"/>
|
||||
<property name="<Control>F5" type="string" value="workspace_5_key"/>
|
||||
<property name="Right" type="string" value="right_key"/>
|
||||
<property name="Left" type="string" value="left_key"/>
|
||||
<property name="<Primary>F1" type="string" value="workspace_1_key"/>
|
||||
<property name="<Alt><Control>KP_1" type="string" value="move_window_workspace_1_key"/>
|
||||
<property name="<Primary><Alt>d" type="string" value="show_desktop_key"/>
|
||||
<property name="<Primary>F10" type="string" value="workspace_10_key"/>
|
||||
<property name="<Primary><Alt>KP_3" type="string" value="move_window_workspace_3_key"/>
|
||||
<property name="<Alt>F9" type="string" value="hide_window_key"/>
|
||||
<property name="Up" type="string" value="up_key"/>
|
||||
<property name="<Primary>F2" type="string" value="workspace_2_key"/>
|
||||
<property name="<Control>F6" type="string" value="workspace_6_key"/>
|
||||
<property name="Down" type="string" value="down_key"/>
|
||||
<property name="<Alt><Control>KP_2" type="string" value="move_window_workspace_2_key"/>
|
||||
<property name="<Primary><Alt>Left" type="string" value="left_workspace_key"/>
|
||||
<property name="<Primary>F11" type="string" value="workspace_11_key"/>
|
||||
<property name="<Primary><Alt>KP_4" type="string" value="move_window_workspace_4_key"/>
|
||||
<property name="<Primary>F3" type="string" value="workspace_3_key"/>
|
||||
<property name="<Control>F7" type="string" value="workspace_7_key"/>
|
||||
<property name="<Super>KP_Next" type="string" value="tile_down_right_key"/>
|
||||
<property name="<Primary><Alt>Down" type="string" value="down_workspace_key"/>
|
||||
<property name="<Alt><Control>KP_3" type="string" value="move_window_workspace_3_key"/>
|
||||
<property name="<Primary>F12" type="string" value="workspace_12_key"/>
|
||||
<property name="<Primary><Alt>KP_5" type="string" value="move_window_workspace_5_key"/>
|
||||
<property name="<Primary><Alt>End" type="string" value="move_window_next_workspace_key"/>
|
||||
<property name="<Control>F8" type="string" value="workspace_8_key"/>
|
||||
<property name="<Primary>F4" type="string" value="workspace_4_key"/>
|
||||
<property name="<Control><Shift><Alt>Left" type="string" value="move_window_left_key"/>
|
||||
<property name="<Alt><Control>KP_4" type="string" value="move_window_workspace_4_key"/>
|
||||
<property name="<Primary><Alt>KP_6" type="string" value="move_window_workspace_6_key"/>
|
||||
<property name="<Alt>Insert" type="string" value="add_workspace_key"/>
|
||||
<property name="<Primary>F5" type="string" value="workspace_5_key"/>
|
||||
<property name="<Control>F9" type="string" value="workspace_9_key"/>
|
||||
<property name="<Alt><Control>KP_5" type="string" value="move_window_workspace_5_key"/>
|
||||
<property name="<Control>F10" type="string" value="workspace_10_key"/>
|
||||
<property name="<Control><Alt>Right" type="string" value="right_workspace_key"/>
|
||||
<property name="<Control><Shift><Alt>Up" type="string" value="move_window_up_key"/>
|
||||
<property name="<Primary><Alt>KP_7" type="string" value="move_window_workspace_7_key"/>
|
||||
<property name="Escape" type="string" value="cancel_key"/>
|
||||
<property name="<Super>KP_Left" type="string" value="tile_left_key"/>
|
||||
<property name="<Primary>F6" type="string" value="workspace_6_key"/>
|
||||
<property name="<Alt><Control>End" type="string" value="move_window_next_workspace_key"/>
|
||||
<property name="<Primary><Alt>Home" type="string" value="move_window_prev_workspace_key"/>
|
||||
<property name="<Alt><Control>KP_6" type="string" value="move_window_workspace_6_key"/>
|
||||
<property name="<Control>F11" type="string" value="workspace_11_key"/>
|
||||
<property name="<Super>KP_Page_Up" type="string" value="tile_up_right_key"/>
|
||||
<property name="<Primary><Alt>KP_8" type="string" value="move_window_workspace_8_key"/>
|
||||
<property name="<Alt>F12" type="string" value="above_key"/>
|
||||
<property name="<Super>KP_Down" type="string" value="tile_up_key"/>
|
||||
<property name="<Primary>F7" type="string" value="workspace_7_key"/>
|
||||
<property name="<Primary><Shift><Alt>Up" type="string" value="move_window_up_key"/>
|
||||
<property name="<Primary><Alt>Up" type="string" value="up_workspace_key"/>
|
||||
<property name="<Alt><Control>KP_7" type="string" value="move_window_workspace_7_key"/>
|
||||
<property name="<Control>F12" type="string" value="workspace_12_key"/>
|
||||
<property name="<Primary><Alt>KP_9" type="string" value="move_window_workspace_9_key"/>
|
||||
<property name="<Alt>F4" type="string" value="close_window_key"/>
|
||||
<property name="<Alt><Control>Home" type="string" value="move_window_prev_workspace_key"/>
|
||||
<property name="<Primary>F8" type="string" value="workspace_8_key"/>
|
||||
<property name="<Alt><Control>KP_8" type="string" value="move_window_workspace_8_key"/>
|
||||
<property name="<Alt>Delete" type="string" value="del_workspace_key"/>
|
||||
<property name="<Control>F1" type="string" value="workspace_1_key"/>
|
||||
<property name="<Super>KP_Right" type="string" value="tile_right_key"/>
|
||||
<property name="<Primary>F9" type="string" value="workspace_9_key"/>
|
||||
<property name="<Primary><Shift><Alt>Right" type="string" value="move_window_right_key"/>
|
||||
<property name="<Alt>F10" type="string" value="maximize_window_key"/>
|
||||
<property name="<Alt><Control>KP_9" type="string" value="move_window_workspace_9_key"/>
|
||||
<property name="<Control><Shift><Alt>Right" type="string" value="move_window_right_key"/>
|
||||
<property name="<Control>F2" type="string" value="workspace_2_key"/>
|
||||
<property name="<Super>KP_Home" type="string" value="tile_up_left_key"/>
|
||||
<property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
|
||||
<property name="<Alt>space" type="string" value="popup_menu_key"/>
|
||||
<property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
|
||||
<property name="<Super>KP_Up" type="string" value="tile_down_key"/>
|
||||
<property name="<Super>KP_End" type="string" value="tile_down_left_key"/>
|
||||
<property name="<Alt>F11" type="string" value="fullscreen_key"/>
|
||||
<property name="<Alt>F6" type="string" value="stick_window_key"/>
|
||||
<property name="<Control><Alt>Left" type="string" value="left_workspace_key"/>
|
||||
<property name="override" type="bool" value="true"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="providers" type="empty"/>
|
||||
</channel>
|
||||
7
dot_config/yazi/package.toml
Normal file
7
dot_config/yazi/package.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[plugin]
|
||||
deps = []
|
||||
|
||||
[[flavor.deps]]
|
||||
use = "Chromium-3-Oxide/everforest-medium"
|
||||
rev = "0158f0f"
|
||||
hash = "dbbbfe681e156c28303efb1f44b6cbc4"
|
||||
2
dot_config/yazi/theme.toml
Normal file
2
dot_config/yazi/theme.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[flavor]
|
||||
dark = "everforest-medium"
|
||||
31
dot_zshrc
31
dot_zshrc
@@ -2,7 +2,7 @@
|
||||
|
||||
# 2025-04-10 test
|
||||
#
|
||||
#
|
||||
|
||||
autoload -Uz promptinit
|
||||
promptinit
|
||||
prompt adam1
|
||||
@@ -24,7 +24,8 @@ HISTIGNORE="?:??:??:bash:zsh:clear:exit"
|
||||
|
||||
PROMPT_COMMAND="history -a; history -n"
|
||||
|
||||
|
||||
# Use interactive Comments, so typing "#" in the prompt will be considered a comment
|
||||
setopt interactivecomments
|
||||
|
||||
# Use modern completion system
|
||||
autoload -Uz compinit
|
||||
@@ -54,12 +55,18 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
eval "$(oh-my-posh init zsh --config /home/sebastian/.zsh/rudolfs-dark.omp.json)"
|
||||
|
||||
|
||||
#
|
||||
# Fuzzy File Finder
|
||||
#
|
||||
|
||||
export FZF_TMUX_OPTS="-r 30%"
|
||||
export FZF_TMUX=1
|
||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
@@ -77,25 +84,35 @@ if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
if [ -f ~/.config/common_aliases ]; then
|
||||
. ~/.config/common_aliases
|
||||
fi
|
||||
|
||||
|
||||
if [ -z "$TMUX" ] && [ ${UID} != 0 ]
|
||||
# Determin Termanial Type
|
||||
MYTERMINAL=$(basename "/"$(ps -o cmd -f -p $(cat /proc/$(echo $$)/stat | cut -d \ -f 4) | tail -1 | sed 's/ .*$//'))
|
||||
# Attach to TMUX session if not already done and only if we're in xfce4-terminal (but not e.g. PyCharm)
|
||||
if [ -z "$TMUX" ] && [ ${UID} != 0 ] && [[ "$MYTERMINAL" == "xfce4-terminal" ]] || [[ "$MYTERMINAL" == "kitty" ]] || [[ "$MYTERMINAL" == "ghostty" ]] || [[ "$MYTERMINAL" == "sh" ]]
|
||||
then
|
||||
#tmux new-session -A -s main
|
||||
tmux attach || tmux new
|
||||
fi
|
||||
|
||||
function y() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
IFS= read -r -d '' cwd < "$tmp"
|
||||
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
|
||||
#### for pip3 --user installed applications
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH="$PATH:/home/sebastian/go/bin:/home/sebastian/.cargo/bin"
|
||||
|
||||
|
||||
|
||||
|
||||
function tmux_pane(){
|
||||
tmux rename-window "$(basename $PWD)"
|
||||
}
|
||||
|
||||
|
||||
PROMPT_COMMAND="$PROMPT_COMMAND; tmux_pane"
|
||||
|
||||
Reference in New Issue
Block a user