Browse Source

changes

main
Michael Pappe 8 months ago
parent
commit
3779683310
  1. 2
      .config/htop/htoprc##default
  2. 20
      .config/kitty/kitty.conf
  3. 15
      .config/mako/config
  4. 17
      .config/sway/conf.d/bind.conf
  5. 10
      .config/sway/conf.d/vars.conf
  6. 16
      .ssh/config
  7. 106
      .zshrc
  8. 2
      README.md
  9. 2
      README.org

2
.config/htop/htoprc##default

@ -18,7 +18,7 @@ highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=1
tree_view=0
tree_view=1
tree_view_always_by_pid=0
header_margin=1
detailed_cpu_time=1

20
.config/kitty/kitty.conf

@ -3,18 +3,11 @@
touch_scroll_multiplier 6.0
#: Fonts {{{
#font_family CaskaydiaCoveNerdFontComplete-Regular
#bold_font CaskaydiaCoveNerdFontComplete-SemiBold
#italic_font auto
#bold_italic_font auto
#italic_font CaskaydiaCoveNerdFontComplete-SemiLight
#bold_italic_font CaskaydiaCoveNerdFontComplete-ExtraLight
font_family MesloLGSDZNerdFontCompleteM-Regular
bold_font MesloLGSDZNerdFontCompleteM-Bold
italic_font MesloLGSDZNerdFontCompleteM-Italic
bold_italic_font MesloLGSDZ-Nerd-Font-Mono
font_size 10
font_size 9.5
adjust_line_height 0
adjust_column_width 0
@ -117,7 +110,7 @@ window_resize_step_lines 2
#: resizing windows. The cells value is used for horizontal resizing
#: and the lines value for vertical resizing.
window_border_width 1.0
window_border_width 2.0
#: The width (in pts) of window borders. Will be rounded to the
#: nearest number of pixels based on screen resolution. Note that
@ -227,8 +220,8 @@ tab_switch_strategy previous
#: closed tab. A value of last will switch to the right-most tab.
#tab_fade 0.25 0.5 0.75 1
#tab_fade 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1
tab_fade 1 1 1 1
tab_fade 0 0.0625 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1
#tab_fade 0 1 1 0
#: Control how each tab fades into the background when using fade for
#: the tab_bar_style. Each number is an alpha (between zero and one)
#: that controls how much the corresponding cell fades into the
@ -290,8 +283,7 @@ active_tab_font_style bold
inactive_tab_font_style normal
inactive_tab_background #474747
inactive_tab_foreground #dab997
tab_bar_background none
#tab_bar_background #262626
tab_bar_background #272727
# normal
color0 #262626
@ -334,7 +326,7 @@ allow_remote_control yes
update_check_interval 0
startup_session none
clipboard_control write-clipboard write-primary read-clipboard read-primary
term xterm-kitty
term xterm-screen-256color
#: }}}
#: Keyboard shortcuts {{{

15
.config/mako/config

@ -1,14 +1,15 @@
sort=-time
layer=overlay
font=monospace 10
background-color=#262626CC
width=300
height=110
width=280
height=180
border-size=0
text-color=#EBDBB2FF
border-color=#00000000
border-radius=0
icons=1
max-icon-size=32
max-icon-size=64
default-timeout=5000
ignore-timeout=0
@ -22,7 +23,13 @@ border-size=0
background-color=#D75F5FCC
default-timeout=0
[category=mpd]
[app-name=Spotify]
max-icon-size=128
width=360
height=270
[app-name="Music Player Daemon"]
default-timeout=2000
group-by=category
width=800

17
.config/sway/conf.d/bind.conf

@ -7,7 +7,7 @@ floating_modifier $mod
bindsym $mod+Return exec $term
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+Shift+k kill
# start dmenu (a program launcher)
# bindsym $mod+d exec rofi -config ~/.config/rofi/config.min.rasi -show drun
@ -36,7 +36,7 @@ bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
#bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+f floating toggle
@ -45,7 +45,7 @@ bindsym $mod+Shift+f floating toggle
bindsym $mod+space focus mode_toggle
# focus the parent container
#bindsym $mod+a focus parent
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
@ -73,6 +73,15 @@ bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
# reload the configuration file
bindsym $mod+Shift+c reload
# exit i3 (logs you out of your X session)
@ -115,4 +124,4 @@ bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
# toggle waybars
bindsym $mod+a exec killall -SIGUSR1 waybar
bindsym $mod+Shift+a exec killall -SIGUSR1 waybar

10
.config/sway/conf.d/vars.conf

@ -6,7 +6,7 @@ set $term kitty
set $WOBSOCK $XDG_RUNTIME_DIR/wob/socket
set $HOME /home/nokogiri
set $BIN $HOME/bin
font SauceCodePro Nerd Font Mono 9
font MesloLGSDZ Nerd Font Mono 9
set $base00 #262626
@ -43,9 +43,9 @@ set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
default_border pixel 2
default_floating_border pixel 2
default_border pixel 1
default_floating_border pixel 1
#gaps
gaps outer 3
gaps inner 4
gaps outer 1
gaps inner 2
smart_gaps off

16
.ssh/config

@ -1,8 +1,10 @@
Host *
ServerAliveInterval 15
ServerAliveCountMax 3
Compression no
Ciphers chacha20-poly1305@openssh.com
#Host *
# ServerAliveInterval 15
# ServerAliveCountMax 3
# Compression no
# IdentitiesOnly=yes
# Ciphers chacha20-poly1305@openssh.com
#
#PreferredAuthentications=publickey,keyboard-interactive
@ -40,10 +42,6 @@ Host codeberg.org
User git
IdentityFile ~/.ssh/id_nokogiri.key
Host git.sr.ht
User git
IdentityFile ~/.ssh/id_nokogiri.key
Host odroidxu4
Hostname 192.168.178.12
User nokogiri

106
.zshrc

@ -1,106 +0,0 @@
# Personal Zsh configuration file. It is strongly recommended to keep all
# shell customization and configuration (including exported environment
# variables such as PATH) in this file or in files source by it.
#
# Documentation: https://github.com/romkatv/zsh4humans/blob/v5/README.md.
# Periodic auto-update on Zsh startup: 'ask' or 'no'.
zstyle ':z4h:' auto-update 'no'
# Ask whether to auto-update this often; has no effect if auto-update is 'no'.
zstyle ':z4h:' auto-update-days 'no'
# Automaticaly wrap TTY with a transparent tmux ('integrated'), or start a
# full-fledged tmux ('system'), or disable features that require tmux ('no').
zstyle ':z4h:' start-tmux 'no'
# Move prompt to the bottom when zsh starts up so that it's always in the
# same position. Has no effect if start-tmux is 'no'.
zstyle ':z4h:' prompt-at-bottom 'no'
# Keyboard type: 'mac' or 'pc'.
zstyle ':z4h:bindkey' keyboard 'pc'
# Right-arrow key accepts one character ('partial-accept') from
# command autosuggestions or the whole thing ('accept')?
zstyle ':z4h:autosuggestions' forward-char 'accept'
# Enable ('yes') or disable ('no') automatic teleportation of z4h over
# ssh when connecting to these hosts.
#zstyle ':z4h:ssh:calvin' enable 'yes'
#zstyle ':z4h:ssh:*.example-hostname2' enable 'no'
# The default value if none of the overrides above match the hostname.
zstyle ':z4h:ssh:*' enable 'no'
# Send these files over to the remote host when connecting over ssh to the
# enabled hosts.
zstyle ':z4h:ssh:*' send-extra-files '~/.nanorc' '~/.env.zsh'
# Clone additional Git repositories from GitHub.
#
# This doesn't do anything apart from cloning the repository and keeping it
# up-to-date. Cloned files can be used after `z4h init`. This is just an
# example. If you don't plan to use Oh My Zsh, delete this line.
#z4h install ohmyzsh/ohmyzsh || return
# Install or update core components (fzf, zsh-autosuggestions, etc.) and
# initialize Zsh. After this point console I/O is unavailable until Zsh
# is fully initialized. Everything that requires user interaction or can
# perform network I/O must be done above. Everything else is best done below.
z4h init || return
# Extend PATH.
path=(~/bin $path)
# Export environment variables.
export GPG_TTY=$TTY
# Source additional local files if they exist.
z4h source ~/.env.zsh
# Use additional Git repositories pulled in with `z4h install`.
#
# This is just an example that you should delete. It does nothing useful.
#z4h source $Z4H/ohmyzsh/ohmyzsh/lib/diagnostics.zsh
#z4h source $Z4H/ohmyzsh/ohmyzsh/plugins/emoji-clock/emoji-clock.plugin.zsh
#fpath+=($Z4H/ohmyzsh/ohmyzsh/plugins/supervisor)
# Define key bindings.
z4h bindkey z4h-backward-kill-word Ctrl+Backspace Ctrl+H
z4h bindkey z4h-backward-kill-zword Ctrl+Alt+Backspace
z4h bindkey undo Ctrl+/ # undo the last command line change
z4h bindkey redo Alt+/ # redo the last undone command line change
z4h bindkey z4h-cd-back Alt+Left # cd into the previous directory
z4h bindkey z4h-cd-forward Alt+Right # cd into the next directory
z4h bindkey z4h-cd-up Alt+Up # cd into the parent directory
z4h bindkey z4h-cd-down Alt+Down # cd into a child directory
# Autoload functions.
autoload -Uz zmv
# Define functions and completions.
function md() { [[ $# == 1 ]] && mkdir -p -- "$1" && cd -- "$1" }
compdef _directories md
# Define named directories: ~w <=> Windows home directory on WSL.
[[ -n $z4h_win_home ]] && hash -d w=$z4h_win_home
# Define aliases.
alias tree='tree -a -I .git'
# Add flags to existing aliases.
alias ls="${aliases[ls]:-ls} -A"
# Set shell options: http://zsh.sourceforge.net/Doc/Release/Options.html.
setopt glob_dots # no special treatment for file names with a leading dot
setopt no_auto_menu # require an extra TAB press to open the completion menu
typeset -g HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='bg=black,fg=cyan,bold'
typeset -g HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND='bg=black,fg=magenta,bold'
typeset -U config_files
config_files=($HOME/.config/zsh/*.zsh)
# load config files
for file in ${config_files}
do
source $file
done

2
README.md

@ -1,4 +1,4 @@
# Info
# Dotfiles
A collection of my accumulated dotfiles, right now really messy and anythig but finished. Feel free to use.

2
README.org

@ -1,7 +1,7 @@
#+TITLE: Desktop dotfiles
#+EXPORT_FILE_NAME: ~/README.md
#+OPTIONS: toc:nil
* Info
* Dotfiles
A collection of my accumulated dotfiles, right now really messy and anythig but finished.\\
Feel free to use.

Loading…
Cancel
Save