Working on sway changes.
This commit is contained in:
parent
73b2c72eb0
commit
46df8b7b62
156
dot_config/foot/foot.ini
Normal file
156
dot_config/foot/foot.ini
Normal file
@ -0,0 +1,156 @@
|
||||
# -*- conf -*-
|
||||
|
||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||
#term=foot-extra #(or xterm-256color if built with -Dterminfo=disabled)
|
||||
# login-shell=no
|
||||
|
||||
font=Hasklug Nerd Font:size=9
|
||||
# font-bold=<bold variant of regular font>
|
||||
# font-italic=<italic variant of regular font>
|
||||
# font-bold-italic=<bold+italic variant of regular font>
|
||||
# line-height=<font metrics>
|
||||
# letter-spacing=0
|
||||
# horizontal-letter-offset=0
|
||||
# vertical-letter-offset=0
|
||||
# underline-offset=<font metrics>
|
||||
# box-drawings-uses-font-glyphs=no
|
||||
# dpi-aware=yes
|
||||
|
||||
# initial-window-size-pixels=700x500 # Or,
|
||||
# initial-window-size-chars=<COLSxROWS>
|
||||
# initial-window-mode=windowed
|
||||
pad=5x5 # optionally append 'center'
|
||||
resize-delay-ms=50
|
||||
|
||||
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
|
||||
|
||||
# bold-text-in-bright=no
|
||||
# bell=none
|
||||
# word-delimiters=,│`|:"'()[]{}<>
|
||||
# selection-target=primary
|
||||
# workers=<number of logical CPUs>
|
||||
|
||||
[bell]
|
||||
# urgent=no
|
||||
# notify=no
|
||||
# command=
|
||||
# command-focused=no
|
||||
|
||||
[scrollback]
|
||||
lines=10000
|
||||
# multiplier=3.0
|
||||
# indicator-position=relative
|
||||
# indicator-format=
|
||||
|
||||
[url]
|
||||
# launch=xdg-open ${url}
|
||||
# label-letters=sadfjklewcmpgh
|
||||
# osc8-underline=url-mode
|
||||
# protocols = http, https, ftp, ftps, file, gemini, gopher
|
||||
|
||||
[cursor]
|
||||
# style=block
|
||||
color= 141a1b eeeeee
|
||||
# blink=no
|
||||
# beam-thickness=1.5
|
||||
# underline-thickness=<font underline thickness>
|
||||
|
||||
[mouse]
|
||||
# hide-when-typing=no
|
||||
# alternate-scroll-mode=yes
|
||||
|
||||
[colors]
|
||||
alpha=0.9
|
||||
foreground=eeeeee
|
||||
background=141a1b
|
||||
regular0=141a1B # black
|
||||
regular1=cd3f45 # red
|
||||
regular2=9fca56 # green
|
||||
regular3=e6cd69 # yellow
|
||||
regular4=16a085 # blue
|
||||
regular5=a074c4 # magenta
|
||||
regular6=55b5db # cyan
|
||||
regular7=d6d6d6 # white
|
||||
bright0=41535B # bright black
|
||||
bright1=cd3f45 # red
|
||||
bright2=9fca56 # green
|
||||
bright3=e6cd69 # yellow
|
||||
bright4=16a085 # blue
|
||||
bright5=a074c4 # magenta
|
||||
bright6=55b5db # cyan
|
||||
bright7=ffffff # bright white
|
||||
# 16 = <256-color palette #16>
|
||||
# ...
|
||||
# 255 = <256-color palette #255>
|
||||
# selection-foreground=<inverse foreground/background>
|
||||
# selection-background=<inverse foreground/background>
|
||||
# jump-labels=<regular0> <regular3>
|
||||
# urls=<regular3>
|
||||
|
||||
[csd]
|
||||
# preferred=server
|
||||
# size=26
|
||||
# color=<foreground color>
|
||||
# button-width=26
|
||||
# button-color=<background color>
|
||||
# button-minimize-color=<regular4>
|
||||
# button-maximize-color=<regular2>
|
||||
# button-close-color=<regular1>
|
||||
|
||||
[key-bindings]
|
||||
# scrollback-up-page=Shift+Page_Up
|
||||
# scrollback-up-half-page=none
|
||||
# scrollback-up-line=none
|
||||
# scrollback-down-page=Shift+Page_Down
|
||||
# scrollback-down-half-page=none
|
||||
# scrollback-down-line=none
|
||||
# clipboard-copy=Control+Shift+c
|
||||
# clipboard-paste=Control+Shift+v
|
||||
# primary-paste=Shift+Insert
|
||||
# search-start=Control+Shift+r
|
||||
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||
# font-decrease=Control+minus Control+KP_Subtract
|
||||
# font-reset=Control+0 Control+KP_0
|
||||
# spawn-terminal=Control+Shift+n
|
||||
# minimize=none
|
||||
# maximize=none
|
||||
# fullscreen=none
|
||||
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||
# pipe-selected=[xargs -r firefox] none
|
||||
# show-urls-launch=Control+Shift+u
|
||||
# show-urls-copy=none
|
||||
|
||||
[search-bindings]
|
||||
# cancel=Control+g Escape
|
||||
# commit=Return
|
||||
# find-prev=Control+r
|
||||
# find-next=Control+s
|
||||
# cursor-left=Left Control+b
|
||||
# cursor-left-word=Control+Left Mod1+b
|
||||
# cursor-right=Right Control+f
|
||||
# cursor-right-word=Control+Right Mod1+f
|
||||
# cursor-home=Home Control+a
|
||||
# cursor-end=End Control+e
|
||||
# delete-prev=BackSpace
|
||||
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||
# delete-next=Delete
|
||||
# delete-next-word=Mod1+d Control+Delete
|
||||
# extend-to-word-boundary=Control+w
|
||||
# extend-to-next-whitespace=Control+Shift+w
|
||||
# clipboard-paste=Control+v Control+y
|
||||
# primary-paste=Shift+Insert
|
||||
|
||||
[url-bindings]
|
||||
# cancel=Control+g Control+d Escape
|
||||
# toggle-url-visible=t
|
||||
|
||||
[mouse-bindings]
|
||||
# primary-paste=BTN_MIDDLE
|
||||
# select-begin=BTN_LEFT
|
||||
# select-begin-block=Control+BTN_LEFT
|
||||
# select-extend=BTN_RIGHT
|
||||
# select-extend-character-wise=Control+BTN_RIGHT
|
||||
# select-word=BTN_LEFT-2
|
||||
# select-word-whitespace=Control+BTN_LEFT-2
|
||||
# select-row=BTN_LEFT-3
|
||||
@ -110,7 +110,7 @@ bottom = false
|
||||
;border-right-size = 16
|
||||
;unused modules - mpd xbacklight backlight-acpi alsa
|
||||
modules-left = i3
|
||||
modules-center = temperature gpu-temp battery xkeyboard memory cpu filesystem updates-pacman updates-aurhelper reboot-check xbacklight top-process
|
||||
modules-center = temperature battery xkeyboard memory cpu filesystem updates-pacman updates-aurhelper reboot-check xbacklight top-process
|
||||
modules-right = net wifi0 vpn
|
||||
|
||||
; TRAY MANAGEMENT
|
||||
@ -966,7 +966,7 @@ type = internal/battery
|
||||
|
||||
; This is useful in case the battery never reports 100% charge
|
||||
; Default: 100
|
||||
full-at = 98
|
||||
full-at = 96
|
||||
|
||||
; format-low once this charge percentage is reached
|
||||
; Default: 10
|
||||
|
||||
@ -24,6 +24,13 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
# make idea work - should be fine now
|
||||
exec wmname LG3D
|
||||
# sway fixes for screensharing
|
||||
# https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist
|
||||
#XDG_CURRENT_DESKTOP=sway
|
||||
#MOZ_ENABLE_WAYLAND=1
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
exec systemctl --user stop pipewire xdg-desktop-portal xdg-desktop-portal-wlr
|
||||
exec systemctl --user start pipewire
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% {icon}",
|
||||
"format-icons": ["x", "y", "z"],
|
||||
"format-icons": ["", "", ""],
|
||||
"tooltip": true
|
||||
},
|
||||
"memory": {
|
||||
|
||||
@ -51,6 +51,11 @@ setopt notify
|
||||
# Beep on error
|
||||
unsetopt beep
|
||||
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/joachim/.zshrc'
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# load zgenom
|
||||
source "${HOME}/.zgenom/zgenom.zsh"
|
||||
@ -74,11 +79,14 @@ if ! zgenom saved; then
|
||||
# load powerlevel10k
|
||||
zgenom load romkatv/powerlevel10k powerlevel10k
|
||||
|
||||
# Provide tips about aliases, give hint when using a command that has one
|
||||
zgenom load djui/alias-tips
|
||||
|
||||
# This ZSH plugin enables using fzf to search your command history and do file searches.
|
||||
zgenom load unixorn/fzf-zsh-plugin
|
||||
|
||||
# Provide tips about aliases, give hint when using a command that has one
|
||||
zgenom load djui/alias-tips
|
||||
# search in zsh history
|
||||
zgenom load zsh-users/zsh-history-substring-search
|
||||
|
||||
# generate the init script from plugins above
|
||||
zgenom save
|
||||
@ -124,12 +132,15 @@ bindkey -v '^?' backward-delete-char
|
||||
# must be after -v
|
||||
# enable backwards search with ctrl-r
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
bindkey "^R" history-incremental-pattern-search-backward
|
||||
bindkey "^F" history-incremental-pattern-search-forward
|
||||
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/joachim/.zshrc'
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
# sway fixes for screensharing
|
||||
# https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
# doing this in sway config now
|
||||
#dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
# this supposedly fixes the slow pasting into shell
|
||||
# zstyle ':bracketed-paste-magic' active-widgets '.self-*'
|
||||
@ -142,5 +153,8 @@ compinit
|
||||
# [[ ! -f ~/.p10k.console.zsh ]] || source ~/.p10k.console.zsh
|
||||
#fi
|
||||
|
||||
# got to source this fzf file manually?
|
||||
[[ ! -f ~/.fzf/fzf.zsh ]] || source ~/.fzf/fzf.zsh
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user