Compare commits
No commits in common. "c15b273db2a478e8fc819ccc3f7cd4cc802f7740" and "e1e48ca6bc2a2812042fddc672aca7571063cf52" have entirely different histories.
c15b273db2
...
e1e48ca6bc
20 changed files with 103 additions and 1648 deletions
|
@ -50,20 +50,20 @@ graph_symbol_net = "default"
|
||||||
graph_symbol_proc = "default"
|
graph_symbol_proc = "default"
|
||||||
|
|
||||||
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
||||||
shown_boxes = "mem"
|
shown_boxes = ""
|
||||||
|
|
||||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
||||||
update_ms = 1000
|
update_ms = 1000
|
||||||
|
|
||||||
#* 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 = "threads"
|
proc_sorting = "memory"
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
#* Reverse sorting order, True or False.
|
||||||
proc_reversed = False
|
proc_reversed = False
|
||||||
|
|
||||||
#* Show processes as a tree.
|
#* Show processes as a tree.
|
||||||
proc_tree = False
|
proc_tree = True
|
||||||
|
|
||||||
#* Use the cpu graph colors in the process list.
|
#* Use the cpu graph colors in the process list.
|
||||||
proc_colors = True
|
proc_colors = True
|
||||||
|
|
|
@ -1,316 +0,0 @@
|
||||||
[global]
|
|
||||||
### Display ###
|
|
||||||
|
|
||||||
# Which monitor should the notifications be displayed on.
|
|
||||||
monitor = 0
|
|
||||||
|
|
||||||
# Display notification on focused monitor. Possible modes are:
|
|
||||||
# mouse: follow mouse pointer
|
|
||||||
# keyboard: follow window with keyboard focus
|
|
||||||
# none: don't follow anything
|
|
||||||
#
|
|
||||||
# "keyboard" needs a window manager that exports the
|
|
||||||
# _NET_ACTIVE_WINDOW property.
|
|
||||||
# This should be the case for almost all modern window managers.
|
|
||||||
#
|
|
||||||
# If this option is set to mouse or keyboard, the monitor option
|
|
||||||
# will be ignored.
|
|
||||||
follow = mouse
|
|
||||||
|
|
||||||
# The geometry of the window:
|
|
||||||
# [{width}]x{height}[+/-{x}+/-{y}]
|
|
||||||
# The geometry of the message window.
|
|
||||||
# The height is measured in number of notifications everything else
|
|
||||||
# in pixels. If the width is omitted but the height is given
|
|
||||||
# ("-geometry x2"), the message window expands over the whole screen
|
|
||||||
# (dmenu-like). If width is 0, the window expands to the longest
|
|
||||||
# message displayed. A positive x is measured from the left, a
|
|
||||||
# negative from the right side of the screen. Y is measured from
|
|
||||||
# the top and down respectively.
|
|
||||||
# The width can be negative. In this case the actual width is the
|
|
||||||
# screen width minus the width defined in within the geometry option.
|
|
||||||
geometry = "350x7-13+32"
|
|
||||||
|
|
||||||
# Show how many messages are currently hidden (because of geometry).
|
|
||||||
indicate_hidden = yes
|
|
||||||
|
|
||||||
# Shrink window if it's smaller than the width. Will be ignored if
|
|
||||||
# width is 0.
|
|
||||||
shrink = no
|
|
||||||
|
|
||||||
# The transparency of the window. Range: [0; 100].
|
|
||||||
# This option will only work if a compositing window manager is
|
|
||||||
# present (e.g. xcompmgr, compiz, etc.).
|
|
||||||
transparency = 1
|
|
||||||
|
|
||||||
# The height of the entire notification. If the height is smaller
|
|
||||||
# than the font height and padding combined, it will be raised
|
|
||||||
# to the font height and padding.
|
|
||||||
notification_height = 0
|
|
||||||
|
|
||||||
# Draw a line of "separator_height" pixel height between two
|
|
||||||
# notifications.
|
|
||||||
# Set to 0 to disable.
|
|
||||||
separator_height = 2
|
|
||||||
|
|
||||||
# Padding between text and separator.
|
|
||||||
padding = 8
|
|
||||||
|
|
||||||
# Horizontal padding.
|
|
||||||
horizontal_padding = 8
|
|
||||||
|
|
||||||
# Defines width in pixels of frame around the notification window.
|
|
||||||
# Set to 0 to disable.
|
|
||||||
frame_width = 2
|
|
||||||
|
|
||||||
# Defines color of the frame around the notification window.
|
|
||||||
frame_color = "#5E81AC"
|
|
||||||
|
|
||||||
# Define a color for the separator.
|
|
||||||
# possible values are:
|
|
||||||
# * auto: dunst tries to find a color fitting to the background;
|
|
||||||
# * foreground: use the same color as the foreground;
|
|
||||||
# * frame: use the same color as the frame;
|
|
||||||
# * anything else will be interpreted as a X color.
|
|
||||||
separator_color = frame
|
|
||||||
|
|
||||||
# Sort messages by urgency.
|
|
||||||
sort = yes
|
|
||||||
|
|
||||||
# Don't remove messages, if the user is idle (no mouse or keyboard input)
|
|
||||||
# for longer than idle_threshold seconds.
|
|
||||||
# Set to 0 to disable.
|
|
||||||
idle_threshold = 200
|
|
||||||
|
|
||||||
### Text ###
|
|
||||||
|
|
||||||
font = SF Pro Display 11
|
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
|
||||||
# font height, it will get raised to the font height.
|
|
||||||
line_height = 1
|
|
||||||
|
|
||||||
# Possible values are:
|
|
||||||
# full: Allow a small subset of html markup in notifications:
|
|
||||||
# <b>bold</b>
|
|
||||||
# <i>italic</i>
|
|
||||||
# <s>strikethrough</s>
|
|
||||||
# <u>underline</u>
|
|
||||||
#
|
|
||||||
# For a complete reference see
|
|
||||||
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
|
|
||||||
#
|
|
||||||
# strip: This setting is provided for compatibility with some broken
|
|
||||||
# clients that send markup even though it's not enabled on the
|
|
||||||
# server. Dunst will try to strip the markup but the parsing is
|
|
||||||
# simplistic so using this option outside of matching rules for
|
|
||||||
# specific applications *IS GREATLY DISCOURAGED*.
|
|
||||||
#
|
|
||||||
# no: Disable markup parsing, incoming notifications will be treated as
|
|
||||||
# plain text. Dunst will not advertise that it has the body-markup
|
|
||||||
# capability if this is set as a global setting.
|
|
||||||
#
|
|
||||||
# It's important to note that markup inside the format option will be parsed
|
|
||||||
# regardless of what this is set to.
|
|
||||||
markup = yes
|
|
||||||
|
|
||||||
# The format of the message. Possible variables are:
|
|
||||||
# %a appname
|
|
||||||
# %s summary
|
|
||||||
# %b body
|
|
||||||
# %i iconname (including its path)
|
|
||||||
# %I iconname (without its path)
|
|
||||||
# %p progress value if set ([ 0%] to [100%]) or nothing
|
|
||||||
# %n progress value if set without any extra characters
|
|
||||||
# Markup is allowed
|
|
||||||
#format = "<b>%s</b>\n%b"
|
|
||||||
format = "<b>%s %p</b>\n%b\n%p"
|
|
||||||
|
|
||||||
# Alignment of message text.
|
|
||||||
# Possible values are "left", "center" and "right".
|
|
||||||
alignment = center
|
|
||||||
|
|
||||||
# Show age of message if message is older than show_age_threshold
|
|
||||||
# seconds.
|
|
||||||
# Set to -1 to disable.
|
|
||||||
show_age_threshold = 60
|
|
||||||
|
|
||||||
# Split notifications into multiple lines if they don't fit into
|
|
||||||
# geometry.
|
|
||||||
word_wrap = yes
|
|
||||||
|
|
||||||
# Ignore newlines '\n' in notifications.
|
|
||||||
ignore_newline = no
|
|
||||||
|
|
||||||
ellipsize = middle
|
|
||||||
|
|
||||||
# Merge multiple notifications with the same content
|
|
||||||
stack_duplicates = true
|
|
||||||
|
|
||||||
# Hide the count of merged notifications with the same content
|
|
||||||
hide_duplicate_count = false
|
|
||||||
|
|
||||||
# Display indicators for URLs (U) and actions (A).
|
|
||||||
show_indicators = yes
|
|
||||||
|
|
||||||
### Icons ###
|
|
||||||
|
|
||||||
# Align icons left/right/off
|
|
||||||
icon_position = left
|
|
||||||
|
|
||||||
# Scale larger icons down to this size, set to 0 to disable
|
|
||||||
max_icon_size = 32
|
|
||||||
|
|
||||||
# Paths to default icons.
|
|
||||||
icon_path = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/
|
|
||||||
|
|
||||||
# Should a notification popped up from history be sticky or timeout
|
|
||||||
# as if it would normally do.
|
|
||||||
sticky_history = yes
|
|
||||||
|
|
||||||
# Maximum amount of notifications kept in history
|
|
||||||
history_length = 20
|
|
||||||
|
|
||||||
### Misc/Advanced ###
|
|
||||||
|
|
||||||
# dmenu path.
|
|
||||||
dmenu = /usr/bin/dmenu -p dunst:
|
|
||||||
|
|
||||||
# Browser for opening urls in context menu.
|
|
||||||
browser = /usr/bin/brave
|
|
||||||
|
|
||||||
# Always run rule-defined scripts, even if the notification is suppressed
|
|
||||||
always_run_script = true
|
|
||||||
|
|
||||||
# Define the title of the windows spawned by dunst
|
|
||||||
title = Dunst
|
|
||||||
|
|
||||||
# Define the class of the windows spawned by dunst
|
|
||||||
class = Dunst
|
|
||||||
|
|
||||||
# Print a notification on startup.
|
|
||||||
# This is mainly for error detection, since dbus (re-)starts dunst
|
|
||||||
# automatically after a crash.
|
|
||||||
startup_notification = false
|
|
||||||
|
|
||||||
### Legacy
|
|
||||||
|
|
||||||
# Use the Xinerama extension instead of RandR for multi-monitor support.
|
|
||||||
# This setting is provided for compatibility with older nVidia drivers that
|
|
||||||
# do not support RandR and using it on systems that support RandR is highly
|
|
||||||
# discouraged.
|
|
||||||
#
|
|
||||||
# By enabling this setting dunst will not be able to detect when a monitor
|
|
||||||
# is connected or disconnected which might break follow mode if the screen
|
|
||||||
# layout changes.
|
|
||||||
force_xinerama = false
|
|
||||||
|
|
||||||
# Experimental features that may or may not work correctly. Do not expect them
|
|
||||||
# to have a consistent behaviour across releases.
|
|
||||||
[experimental]
|
|
||||||
# Calculate the dpi to use on a per-monitor basis.
|
|
||||||
# If this setting is enabled the Xft.dpi value will be ignored and instead
|
|
||||||
# dunst will attempt to calculate an appropriate dpi value for each monitor
|
|
||||||
# using the resolution and physical size. This might be useful in setups
|
|
||||||
# where there are multiple screens with very different dpi values.
|
|
||||||
per_monitor_dpi = false
|
|
||||||
|
|
||||||
[shortcuts]
|
|
||||||
|
|
||||||
# Shortcuts are specified as [modifier+][modifier+]...key
|
|
||||||
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
|
|
||||||
# "mod3" and "mod4" (windows-key).
|
|
||||||
# Xev might be helpful to find names for keys.
|
|
||||||
|
|
||||||
# Close notification.
|
|
||||||
close = ctrl+space
|
|
||||||
|
|
||||||
# Close all notifications.
|
|
||||||
close_all = ctrl+shift+space
|
|
||||||
|
|
||||||
# Redisplay last message(s).
|
|
||||||
# On the US keyboard layout "grave" is normally above TAB and left
|
|
||||||
# of "1". Make sure this key actually exists on your keyboard layout,
|
|
||||||
# e.g. check output of 'xmodmap -pke'
|
|
||||||
history = ctrl+mod1+j
|
|
||||||
|
|
||||||
|
|
||||||
[urgency_low]
|
|
||||||
msg_urgency = low
|
|
||||||
background = "#2E344090"
|
|
||||||
foreground = "#D8DEE9"
|
|
||||||
timeout= 4
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
msg_urgency = normal
|
|
||||||
background = "#3B425299"
|
|
||||||
foreground = "#E5E9F0"
|
|
||||||
timeout = 4
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
msg_urgency = critical
|
|
||||||
background = "#2E344099"
|
|
||||||
foreground = "#D08770"
|
|
||||||
timeout = 0
|
|
||||||
|
|
||||||
|
|
||||||
# Every section that isn't one of the above is interpreted as a rules to
|
|
||||||
# override settings for certain messages.
|
|
||||||
# Messages can be matched by "appname", "summary", "body", "icon", "category",
|
|
||||||
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
|
|
||||||
# "background", "new_icon" and "format".
|
|
||||||
# Shell-like globbing will get expanded.
|
|
||||||
#
|
|
||||||
# SCRIPTING
|
|
||||||
# You can specify a script that gets run when the rule matches by
|
|
||||||
# setting the "script" option.
|
|
||||||
# The script will be called as follows:
|
|
||||||
# script appname summary body icon urgency
|
|
||||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
|
|
||||||
#
|
|
||||||
# NOTE: if you don't want a notification to be displayed, set the format
|
|
||||||
# to "".
|
|
||||||
# NOTE: It might be helpful to run dunst -print in a terminal in order
|
|
||||||
# to find fitting options for rules.
|
|
||||||
|
|
||||||
#[espeak]
|
|
||||||
# summary = "*"
|
|
||||||
# script = dunst_espeak.sh
|
|
||||||
|
|
||||||
#[script-test]
|
|
||||||
# summary = "*script*"
|
|
||||||
# script = dunst_test.sh
|
|
||||||
|
|
||||||
#[ignore]
|
|
||||||
# # This notification will not be displayed
|
|
||||||
# summary = "foobar"
|
|
||||||
# format = ""
|
|
||||||
|
|
||||||
#[history-ignore]
|
|
||||||
# # This notification will not be saved in history
|
|
||||||
# summary = "foobar"
|
|
||||||
# history_ignore = yes
|
|
||||||
|
|
||||||
#[signed_on]
|
|
||||||
# appname = Pidgin
|
|
||||||
# summary = "*signed on*"
|
|
||||||
# urgency = low
|
|
||||||
#
|
|
||||||
#[signed_off]
|
|
||||||
# appname = Pidgin
|
|
||||||
# summary = *signed off*
|
|
||||||
# urgency = low
|
|
||||||
#
|
|
||||||
#[says]
|
|
||||||
# appname = Pidgin
|
|
||||||
# summary = *says*
|
|
||||||
# urgency = critical
|
|
||||||
#
|
|
||||||
#[twitter]
|
|
||||||
# appname = Pidgin
|
|
||||||
# summary = *twitter.com*
|
|
||||||
# urgency = normal
|
|
||||||
#
|
|
||||||
|
|
||||||
# vim: ft=cfg
|
|
||||||
|
|
|
@ -10,5 +10,3 @@ fx --comp fish | source
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|
||||||
fzf --fish | source
|
fzf --fish | source
|
||||||
|
|
||||||
syncthing install-completions | source
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# This file contains fish universal variable definitions.
|
# This file contains fish universal variable definitions.
|
||||||
# VERSION: 3.0
|
# VERSION: 3.0
|
||||||
SETUVAR --export ELECTRON_OZONE_PLATFORM_HINT:auto
|
SETUVAR --export ELECTRON_OZONE_PLATFORM_HINT:auto
|
||||||
SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dwalker\x2dskip\x3d\x2esteam\x2c\x2evscode\x2c\x2ecargo\x2c\x2enpm\x2c\x2envm\x2cSteam\x2cgo\x2c\x2ecache\x2c\x2epub\x2dcache\x2c\x2erustup\x2c\x2ecfgstore
|
SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dwalker\x2dskip\x3d\x2esteam\x2c\x2evscode\x2c\x2ecargo\x2c\x2enpm\x2c\x2envm\x2cSteam\x2cgo\x2c\x2ecache\x2c\x2epub\x2dcache\x2c\x2erustup
|
||||||
SETUVAR --export --path PATH:/usr/local/bin\x1e/usr/local/sbin\x1e/usr/bin\x1e/usr/sbin\x1e/usr/local/go/bin
|
SETUVAR --export --path PATH:/usr/local/bin\x1e/usr/local/sbin\x1e/usr/bin\x1e/usr/sbin\x1e/usr/local/go/bin
|
||||||
SETUVAR --export RANGER_LOAD_DEFAULT_RC:FALSE
|
SETUVAR --export RANGER_LOAD_DEFAULT_RC:FALSE
|
||||||
SETUVAR Z_DATA_DIR:/home/foton/\x2elocal/share/z
|
SETUVAR Z_DATA_DIR:/home/foton/\x2elocal/share/z
|
||||||
|
@ -51,4 +51,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
||||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||||
SETUVAR fish_pager_color_selected_description:\x1d
|
SETUVAR fish_pager_color_selected_description:\x1d
|
||||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||||
SETUVAR fish_user_paths:/home/foton/\x2ebin/stylua\x1e/home/foton/\x2ebin/lua\x2dlsp/bin\x1e/home/foton/\x2escripts\x1e/home/foton/\x2ebin\x1e/opt/Obsidian\x1e/home/foton/go/bin\x1e/home/foton/code/dart\x2dsdk/bin\x1e/home/greg/\x2elocal/bin\x1e/home/greg/\x2ebin\x1e/home/greg/\x2ecargo/bin\x1e/home/greg/go/bin\x1e/usr/local/go/bin
|
SETUVAR fish_user_paths:/home/foton/\x2escripts\x1e/home/foton/\x2ebin\x1e/opt/Obsidian\x1e/home/foton/go/bin\x1e/home/foton/code/dart\x2dsdk/bin\x1e/home/greg/\x2elocal/bin\x1e/home/greg/\x2ebin\x1e/home/greg/\x2ecargo/bin\x1e/home/greg/go/bin\x1e/usr/local/go/bin
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
function lg --wraps=lazygit --description 'alias lg=lazygit'
|
|
||||||
lazygit $argv
|
|
||||||
|
|
||||||
end
|
|
|
@ -1,9 +1,8 @@
|
||||||
map ctrl+c copy_to_clipboard
|
map ctrl+c copy_to_clipboard
|
||||||
map ctrl+v paste_from_clipboard
|
map ctrl+v paste_from_clipboard
|
||||||
map ctrl+shift+c send_text all \x03
|
map ctrl+shift+c send_text all \x03
|
||||||
map ctrl+shift+s show_scrollback
|
map ctrl+space show_scrollback
|
||||||
font_size 12.0
|
font_size 14.0
|
||||||
font_family 0xProto Nerd Font Mono
|
|
||||||
touch_scroll_multiplier 5.0
|
touch_scroll_multiplier 5.0
|
||||||
scrollback_pager ~/.scripts/pager.sh +INPUT_LINE_NUMBER +CURSOR_LINE +CURSOR_COLUMN
|
scrollback_pager bash -c 'nvim -u NORC -c "map q :qa!<CR>" -c "terminal cat "<(cat)" - " -c "map i <Nop>" -c "set clipboard+=unnamedplus nonumber nolist showtabline=0 foldcolumn=0" -c "call cursor(CURSOR_LINE, CURSOR_COLUMN)"'
|
||||||
include ./nord.conf
|
include ./nord.conf
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"diagnostics.globals": [
|
|
||||||
"fsaf"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
column_width = 120
|
|
||||||
line_endings = "Unix"
|
|
||||||
indent_type = "Spaces"
|
|
||||||
indent_width = 2
|
|
||||||
quote_style = "AutoPreferDouble"
|
|
||||||
call_parentheses = "None"
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,36 +0,0 @@
|
||||||
{
|
|
||||||
"FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" },
|
|
||||||
"LuaSnip": { "branch": "master", "commit": "2737edc9e674e537dc0a97e3405658d57d2d31ed" },
|
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
|
||||||
"conform.nvim": { "branch": "master", "commit": "e3263eabbfc1bdbc5b6a60ba8431b64e8dca0a79" },
|
|
||||||
"dressing.nvim": { "branch": "master", "commit": "6ef1ca479d37d4ff66f13eed44d08912caff483a" },
|
|
||||||
"fidget.nvim": { "branch": "main", "commit": "e2a175c2abe2d4f65357da1c98c59a5cfb2b543f" },
|
|
||||||
"flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" },
|
|
||||||
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
|
|
||||||
"lazy.nvim": { "branch": "main", "commit": "60cf258a9ae7fffe04bb31141141a91845158dcc" },
|
|
||||||
"lazydev.nvim": { "branch": "main", "commit": "d5800897d9180cea800023f2429bce0a94ed6064" },
|
|
||||||
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
|
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" },
|
|
||||||
"mason-tool-installer.nvim": { "branch": "main", "commit": "c5e07b8ff54187716334d585db34282e46fa2932" },
|
|
||||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
|
||||||
"mini.nvim": { "branch": "main", "commit": "998cfcf1fdd0a6830d0fc35f1c054a6f55de1e7f" },
|
|
||||||
"neotest": { "branch": "master", "commit": "6d3d22cdad49999ef774ebe1bc250a4994038964" },
|
|
||||||
"neotest-golang": { "branch": "main", "commit": "df6e3f34ae65f2520db798481a9d3f97581899b7" },
|
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
|
|
||||||
"nvim-cmp": { "branch": "main", "commit": "f17d9b4394027ff4442b298398dfcaab97e40c4f" },
|
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "d01864641c6e43c681c3e9f6cf4745c75fdd9dcc" },
|
|
||||||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
|
|
||||||
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
|
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "8e40904e49bbad5812798eb54be8c00d77cdd301" },
|
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
|
|
||||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
|
|
||||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
|
||||||
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
|
||||||
"tokyonight.nvim": { "branch": "main", "commit": "ce91ba480070c95f40753e4663e32b4632ac6db3" },
|
|
||||||
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
|
|
||||||
"which-key.nvim": { "branch": "main", "commit": "68e37e12913a66b60073906f5d3f14dee0de19f2" }
|
|
||||||
}
|
|
|
@ -8,17 +8,16 @@ client.focused_inactive #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
|
||||||
client.unfocused #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
|
client.unfocused #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
|
||||||
client.urgent #ebcb8b #ebcb8b #2e3440 #8fbcbb #ebcb8b
|
client.urgent #ebcb8b #ebcb8b #2e3440 #8fbcbb #ebcb8b
|
||||||
|
|
||||||
workspace_layout tabbed
|
workspace_layout default
|
||||||
# default_border normal
|
focus_wrapping workspace
|
||||||
# default_floating_border none
|
default_border normal
|
||||||
# font pango:monospace 0.001
|
default_floating_border none
|
||||||
# titlebar_padding 1
|
font pango:monospace 0.001
|
||||||
# titlebar_border_thickness 1
|
titlebar_padding 1
|
||||||
# smart_borders off
|
titlebar_border_thickness 1
|
||||||
gaps inner 5
|
smart_borders off
|
||||||
gaps outer 5
|
gaps inner 10
|
||||||
|
|
||||||
for_window [app_id="kitty_shell"] floating enable, move center
|
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
#
|
#
|
||||||
|
@ -31,6 +30,7 @@ set $right l
|
||||||
set $term kitty
|
set $term kitty
|
||||||
set $browser firefox
|
set $browser firefox
|
||||||
set $menu fish -c 'rofi -show run -terminal $term'
|
set $menu fish -c 'rofi -show run -terminal $term'
|
||||||
|
set $switcher rofi -show window
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
set $external DP-1
|
set $external DP-1
|
||||||
|
|
||||||
|
@ -63,8 +63,10 @@ output $laptop {
|
||||||
bindswitch --reload --locked lid:on output $laptop disable
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
workspace 1 output $laptop
|
|
||||||
workspace 1 output $external
|
workspace 1 output $external
|
||||||
|
workspace 2 output $external
|
||||||
|
workspace 3 output $external
|
||||||
|
workspace 4 output $external
|
||||||
|
|
||||||
focus_on_window_activation focus
|
focus_on_window_activation focus
|
||||||
|
|
||||||
|
@ -85,8 +87,8 @@ input "type:pointer" {
|
||||||
}
|
}
|
||||||
|
|
||||||
input "type:keyboard" {
|
input "type:keyboard" {
|
||||||
repeat_delay 400
|
repeat_delay 200
|
||||||
repeat_rate 50
|
repeat_rate 100
|
||||||
xkb_layout us,ru,ua
|
xkb_layout us,ru,ua
|
||||||
xkb_options "grp:alt_space_toggle,ctrl:swap_lalt_lctl"
|
xkb_options "grp:alt_space_toggle,ctrl:swap_lalt_lctl"
|
||||||
}
|
}
|
||||||
|
@ -100,15 +102,12 @@ input "type:keyboard" {
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
#
|
#
|
||||||
bindsym $mod+g exec $term fish -c y
|
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
bindsym $mod+Space exec $menu
|
bindsym $mod+Space exec $menu
|
||||||
bindsym $mod+Tab workspace next
|
bindsym $mod+Backspace exec ~/.config/sway/power.fish
|
||||||
bindsym $mod+Backspace exec ~/.scripts/kitty_shell.fish ~/.scripts/power.fish
|
bindsym $mod+grave exec ~/.config/sway/shot.fish
|
||||||
bindsym $mod+Slash exec ~/.scripts/kitty_shell.fish ~/.scripts/switcher.fish
|
bindsym $mod+backslash exec ~/.config/sway/search.fish
|
||||||
bindsym $mod+grave exec ~/.scripts/shot.fish
|
|
||||||
bindsym $mod+backslash exec KS_WIDTH=30c KS_HEIGHT=1c ~/.scripts/kitty_shell.fish ~/.scripts/search.fish
|
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
|
@ -126,6 +125,7 @@ input "type:keyboard" {
|
||||||
# Moving around:
|
# Moving around:
|
||||||
#
|
#
|
||||||
# Move your focus around
|
# Move your focus around
|
||||||
|
bindsym $mod+Tab focus next
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+$left focus left
|
||||||
bindsym $mod+$down focus down
|
bindsym $mod+$down focus down
|
||||||
bindsym $mod+$up focus up
|
bindsym $mod+$up focus up
|
||||||
|
@ -228,10 +228,7 @@ bindsym $mod+r mode "resize"
|
||||||
### Autostart
|
### Autostart
|
||||||
#
|
#
|
||||||
|
|
||||||
exec udiskie -t
|
|
||||||
exec syncthing serve
|
|
||||||
exec swaylock
|
exec swaylock
|
||||||
exec tuxedo-control-center --tray
|
|
||||||
workspace 3
|
workspace 3
|
||||||
exec obsidian
|
exec obsidian
|
||||||
workspace 2
|
workspace 2
|
||||||
|
@ -243,7 +240,7 @@ exec $term
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
exec ~/.scripts/idle.fish
|
exec ~/.config/sway/idle.fish
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/fish
|
#!/usr/bin/fish
|
||||||
|
|
||||||
set options "hibernate\nreboot\npoweroff\nsuspend\nlock"
|
set action (echo -e "hibernate\nreboot\npoweroff\nsuspend\nlock" | rofi -dmenu -p "to:")
|
||||||
|
|
||||||
set action (echo -e $options | fzf)
|
|
||||||
|
|
||||||
if test "$action" = "lock"
|
if test "$action" = "lock"
|
||||||
swaylock
|
swaylock
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
|
|
||||||
|
set search (echo "" | rofi -dmenu -p "" -theme-str 'listview {lines: 0;}')
|
||||||
set search (read -P ">")
|
|
||||||
|
|
||||||
if test "$search" != ""
|
if test "$search" != ""
|
||||||
firefox --new-tab "https://www.google.de/search?q=$search" && swaymsg [app_id="org.mozilla.firefox"] focus
|
firefox --new-tab "https://www.google.de/search?q=$search" && swaymsg [app_id="org.mozilla.firefox"] focus
|
|
@ -1,106 +1,77 @@
|
||||||
{
|
{
|
||||||
"height": 35,
|
"height": 35,
|
||||||
"modules-left": [
|
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
||||||
"sway/workspaces",
|
"modules-center": [],
|
||||||
"sway/mode",
|
"modules-right": ["pulseaudio", "backlight", "network", "cpu", "memory", "battery", "clock", "tray", "sway/language", "keyboard-state"],
|
||||||
"sway/window"
|
"sway/mode": {
|
||||||
],
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
"modules-center": [],
|
|
||||||
"modules-right": [
|
|
||||||
"idle_inhibitor",
|
|
||||||
"pulseaudio",
|
|
||||||
"backlight",
|
|
||||||
"network",
|
|
||||||
//"cpu",
|
|
||||||
// "memory",
|
|
||||||
"battery",
|
|
||||||
"clock",
|
|
||||||
"tray",
|
|
||||||
"sway/language",
|
|
||||||
"keyboard-state",
|
|
||||||
],
|
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"sway/window": {
|
|
||||||
"max-length": 50
|
|
||||||
},
|
|
||||||
"tray": {
|
|
||||||
"spacing": 10
|
|
||||||
},
|
|
||||||
"clock": {
|
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
||||||
"format": " {:%Y-%m-%d %H:%M}"
|
|
||||||
},
|
|
||||||
"cpu": {
|
|
||||||
"format": " {usage}%",
|
|
||||||
"tooltip": false
|
|
||||||
},
|
|
||||||
"memory": {
|
|
||||||
"format": " {}%"
|
|
||||||
},
|
|
||||||
"backlight": {
|
|
||||||
"format": "{icon} {percent}%",
|
|
||||||
"format-icons": [
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"battery": {
|
|
||||||
"states": {
|
|
||||||
"warning": 30,
|
|
||||||
"critical": 15
|
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"sway/window": {
|
||||||
"format-charging": " {capacity}%",
|
"max-length": 50
|
||||||
"format-plugged": " {capacity}%",
|
|
||||||
"format-alt": "{time} {icon}",
|
|
||||||
"format-icons": [
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
"format-wifi": " ({signalStrength}%)",
|
|
||||||
"format-ethernet": " {ipaddr}",
|
|
||||||
"format-linked": " {ifname} (No IP)",
|
|
||||||
"format-disconnected": "⚠ Disconnected"
|
|
||||||
},
|
|
||||||
"pulseaudio": {
|
|
||||||
"format": "{icon} {volume}% {format_source}",
|
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
|
||||||
"format-muted": " {format_source}",
|
|
||||||
"format-source": " {volume}%",
|
|
||||||
"format-source-muted": "",
|
|
||||||
"format-icons": {
|
|
||||||
"headphone": "",
|
|
||||||
"hands-free": "",
|
|
||||||
"headset": "",
|
|
||||||
"phone": "",
|
|
||||||
"portable": "",
|
|
||||||
"car": "",
|
|
||||||
"default": [
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol"
|
"tray": {
|
||||||
},
|
// "icon-size": 21,
|
||||||
"sway/language": {
|
"spacing": 10
|
||||||
"format": "{flag}",
|
},
|
||||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
"clock": {
|
||||||
},
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"idle_inhibitor": {
|
"format": " {:%Y-%m-%d %H:%M}"
|
||||||
"start-activated": true,
|
},
|
||||||
"format": "{icon}",
|
"cpu": {
|
||||||
"format-icons": {
|
"format": " {usage}%",
|
||||||
"activated": "",
|
"tooltip": false
|
||||||
"deactivated": ""
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": " {}%"
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
// "device": "acpi_video1",
|
||||||
|
"format": "{icon} {percent}%",
|
||||||
|
"format-icons": ["", ""]
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
// "good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-plugged": " {capacity}%",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
// "format-good": "", // An empty format will hide the module
|
||||||
|
// "format-full": "",
|
||||||
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
|
"format-wifi": " ({signalStrength}%)",
|
||||||
|
// "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||||
|
"format-ethernet": " {ipaddr}",
|
||||||
|
"format-linked": " {ifname} (No IP)",
|
||||||
|
"format-disconnected": "⚠ Disconnected"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
"format": "{icon} {volume}% {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": " {volume}%",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"hands-free": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": "",
|
||||||
|
"car": "",
|
||||||
|
"default": ["", "", ""]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
"sway/language": {
|
||||||
|
"format": "{flag}",
|
||||||
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next",
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,6 @@ window {
|
||||||
/*
|
/*
|
||||||
* Right part
|
* Right part
|
||||||
*/
|
*/
|
||||||
#idle_inhibitor,
|
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#network,
|
#network,
|
||||||
#cpu,
|
#cpu,
|
||||||
|
@ -61,7 +60,6 @@ window {
|
||||||
color: @nord6;
|
color: @nord6;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor,
|
|
||||||
#backlight,
|
#backlight,
|
||||||
#language,
|
#language,
|
||||||
#battery,
|
#battery,
|
||||||
|
@ -72,7 +70,6 @@ window {
|
||||||
border-bottom-right-radius: 5px;
|
border-bottom-right-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor,
|
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#network,
|
#network,
|
||||||
#clock,
|
#clock,
|
||||||
|
@ -81,10 +78,6 @@ window {
|
||||||
border-bottom-left-radius: 5px;
|
border-bottom-left-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
background-color: @nord10;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
background-color: @nord13;
|
background-color: @nord13;
|
||||||
color: @nord3;
|
color: @nord3;
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/usr/bin/fish
|
|
||||||
|
|
||||||
set -q KS_WIDTH || set KS_WIDTH "50c"
|
|
||||||
set -q KS_HEIGHT || set KS_HEIGHT "7c"
|
|
||||||
|
|
||||||
kitty --class "kitty_shell" -o remember_window_size=no -o initial_window_height=$KS_HEIGHT -o initial_window_width=$KS_WIDTH $argv
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
INPUT_LINE_NUMBER=${1:-0}
|
|
||||||
CURSOR_LINE=${2:-1}
|
|
||||||
CURSOR_COLUMN=${3:-1}
|
|
||||||
|
|
||||||
nvim -u NORC \
|
|
||||||
-c "map q :qa!<CR>" \
|
|
||||||
-c "terminal cat "<(cat)" - " \
|
|
||||||
-c "map i <Nop>" \
|
|
||||||
-c "set clipboard+=unnamedplus nonumber nolist showtabline=0 foldcolumn=0 laststatus=0" \
|
|
||||||
-c "call cursor($CURSOR_LINE, $CURSOR_COLUMN)"
|
|
||||||
|
|
|
@ -1,16 +1,4 @@
|
||||||
#!/usr/bin/fish
|
#!/usr/bin/fish
|
||||||
|
|
||||||
set lock /tmp/window_switcher_lock
|
swaymsg -t get_tree -r | jq -r '.. | select(.app_id?) | (.pid|tostring) + " " + .app_id + " " + .name' | fzf --with-nth 2.. | awk '{print $1}' | xargs printf "[pid=%d] focus" | xargs swaymsg
|
||||||
|
|
||||||
test -e $lock && exit
|
|
||||||
|
|
||||||
touch $lock
|
|
||||||
|
|
||||||
set windows (swaymsg -t get_tree -r)
|
|
||||||
set query '.. | select(.app_id?) | (.pid|tostring) + " " + .app_id + " " + .name'
|
|
||||||
set fzf_options --with-nth 2..
|
|
||||||
set id (echo $windows | jq -r $query | fzf $fzf_options | awk '{print $1}')
|
|
||||||
|
|
||||||
swaymsg "[pid=$id]" focus
|
|
||||||
|
|
||||||
rm $lock
|
|
||||||
|
|
Loading…
Reference in a new issue