Update 16.08.2023

This commit is contained in:
Kristofers Solo 2023-08-16 00:17:26 +03:00
parent 49c7b19348
commit d13fcef806
45 changed files with 2961 additions and 379 deletions

View File

@ -1,12 +0,0 @@
#!/bin/sh
autostart="nextcloud telegram-desktop headset-charge-indicator spotify ferdium discord transmission-daemon librewolf"
for program in $autostart; do
pidof -s "$program" || "$program" &
done >/dev/null 2>&1
setxkbmap lv &
remaps &
xrandr --output DisplayPort-0 --mode 1920x1080 --rate 75 --output HDMI-A-0 --mode 1920x1080 --rate 60 --left-of DisplayPort-0 &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

View File

@ -1,36 +0,0 @@
! special
*.foreground: #d8dee9
*.background: #1d1f21
*.cursorColor: #d8dee9
! black
*.color0: #2d2d2d
*.color8: #444444
! red
*.color1: #ed0b0b
*.color9: #b55454
! green
*.color2: #40a62f
*.color10: #78a670
! yellow
*.color3: #f2e635
*.color11: #faf380
! blue
*.color4: #327bd1
*.color12: #68a7d4
! magenta
*.color5: #b30ad0
*.color13: #c583d0
! cyan
*.color6: #32d0fc
*.color14: #8adaf1
! white
*.color7: #555555
*.color15: #e0e3e7

View File

@ -161,8 +161,10 @@ draw_bold_text_with_bright_colors: true
colors: colors:
# Default colors # Default colors
primary: primary:
background: "#282a36" # background: "#282a36"
foreground: "#f8f8f2" # foreground: "#f8f8f2"
background: "#1a1b26"
foreground: "#c0caf5"
# Bright and dim foreground colors # Bright and dim foreground colors
# #
# The dimmed foreground color is calculated automatically if it is not # The dimmed foreground color is calculated automatically if it is not
@ -241,24 +243,41 @@ colors:
background: CellForeground background: CellForeground
# Normal colors # Normal colors
normal: normal:
black: "#21222c" # black: "#21222c"
red: "#ff5555" # red: "#ff5555"
green: "#50fa7b" # green: "#50fa7b"
yellow: "#f1fa8c" # yellow: "#f1fa8c"
blue: "#bd93f9" # blue: "#bd93f9"
magenta: "#ff79c6" # magenta: "#ff79c6"
cyan: "#8be9fd" # cyan: "#8be9fd"
white: "#f8f8f2" # white: "#f8f8f2"
black: "0x15161e"
red: "0xf7768e"
green: "0x9ece6a"
yellow: "0xe0af68"
blue: "0x7aa2f7"
magenta: "0xbb9af7"
cyan: "0x7dcfff"
white: "0xa9b1d6"
#
# Bright colors # Bright colors
bright: bright:
black: "#6272a4" # black: "#6272a4"
red: "#ff6e6e" # red: "#ff6e6e"
green: "#69ff94" # green: "#69ff94"
yellow: "#ffffa5" # yellow: "#ffffa5"
blue: "#d6acff" # blue: "#d6acff"
magenta: "#ff92df" # magenta: "#ff92df"
cyan: "#a4ffff" # cyan: "#a4ffff"
white: "#ffffff" # white: "#ffffff"
black: "0x414868"
red: "0xf7768e"
green: "0x9ece6a"
yellow: "0xe0af68"
blue: "0x7aa2f7"
magenta: "0xbb9af7"
cyan: "0x7dcfff"
white: "0xc0caf5"
# Dim colors # Dim colors
# #
# If the dim colors are not set, they will be calculated automatically based # If the dim colors are not set, they will be calculated automatically based
@ -281,8 +300,9 @@ colors:
# Example: # Example:
# `- { index: 16, color: '#ff00ff' }` # `- { index: 16, color: '#ff00ff' }`
# #
#indexed_colors: [] indexed_colors:
- {index: 16, color: "0xff9e64"}
- {index: 17, color: "0xdb4b4b"}
# Transparent cell backgrounds # Transparent cell backgrounds
# #
# Whether or not `window.opacity` applies to all cell backgrounds or only to # Whether or not `window.opacity` applies to all cell backgrounds or only to
@ -371,7 +391,6 @@ cursor:
#thickness: 0.15 #thickness: 0.15
# Live config reload (changes require restart) # Live config reload (changes require restart)
#live_config_reload: true #live_config_reload: true
# Shell # Shell
# #
# You can set `shell.program` to the path of your favorite shell, e.g. # You can set `shell.program` to the path of your favorite shell, e.g.

View File

@ -13,22 +13,22 @@ local theme = {}
theme.font = "JetBrainsMono NF 8" theme.font = "JetBrainsMono NF 8"
theme.bg_normal = "#222222" theme.bg_normal = "#1a1b26"
theme.bg_focus = "#333333" theme.bg_focus = "#292e42"
theme.bg_urgent = "#ff0000" theme.bg_urgent = "#db4b4b"
theme.bg_minimize = "#444444" theme.bg_minimize = "#444444"
theme.bg_systray = theme.bg_normal theme.bg_systray = theme.bg_normal
theme.fg_normal = "#aaaaaa" theme.fg_normal = "#a9b1d6"
theme.fg_focus = "#ffffff" theme.fg_urgent = "#c0caf5"
theme.fg_urgent = "#ffffff" theme.fg_focus = "#c0caf5"
theme.fg_minimize = "#ffffff" theme.fg_minimize = "#a9b1d6"
theme.useless_gap = dpi(4) theme.useless_gap = dpi(4)
theme.border_width = dpi(2) theme.border_width = dpi(2)
theme.border_normal = "#000000" theme.border_normal = "#15161e"
theme.border_focus = "#b9bbbd" theme.border_focus = "#27a1b9"
theme.border_marked = "#91231c" theme.border_marked = "#713137"
-- There are other variable sets -- There are other variable sets
-- overriding the default one when -- overriding the default one when
@ -41,7 +41,7 @@ theme.border_marked = "#91231c"
-- prompt_[fg|bg|fg_cursor|bg_cursor|font] -- prompt_[fg|bg|fg_cursor|bg_cursor|font]
-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] -- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font]
--theme.taglist_bg_focus = "#ff0000" -- theme.taglist_bg_focus = "#db4b4b"
-- Generate taglist squares: -- Generate taglist squares:
local taglist_square_size = dpi(4) local taglist_square_size = dpi(4)
@ -64,7 +64,7 @@ theme.menu_width = dpi(100)
-- You can add as many variables as -- You can add as many variables as
-- you wish and access them by using -- you wish and access them by using
-- beautiful.variable in your rc.lua -- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000" -- theme.bg_widget = "#db4b4b"
-- Define the image to load -- Define the image to load
theme.titlebar_close_button_normal = themes_path .. "default/titlebar/close_normal.png" theme.titlebar_close_button_normal = themes_path .. "default/titlebar/close_normal.png"

View File

@ -7,12 +7,12 @@ local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar")
local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget") local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
local logout_menu_widget = require("awesome-wm-widgets.logout-menu-widget.logout-menu") local logout_menu_widget = require("awesome-wm-widgets.logout-menu-widget.logout-menu")
local net_speed_widget = require("awesome-wm-widgets.net-speed-widget.net-speed") local net_speed_widget = require("awesome-wm-widgets.net-speed-widget.net-speed")
local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
local spotify_shell = require("awesome-wm-widgets.spotify-shell.spotify-shell") local spotify_shell = require("awesome-wm-widgets.spotify-shell.spotify-shell")
local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify") local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify")
local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
local weather_widget = require("awesome-wm-widgets.weather-widget.weather") local weather_widget = require("awesome-wm-widgets.weather-widget.weather")
-- local pacman_widget = require("awesome-wm-widgets.pacman-widget.pacman") local github_activity_widget = require("awesome-wm-widgets.github-activity-widget.github-activity-widget")
local github_contributions_widget =
require("awesome-wm-widgets.github-contributions-widget.github-contributions-widget")
-- Standard awesome library -- Standard awesome library
local gears = require("gears") local gears = require("gears")
@ -31,7 +31,7 @@ local hotkeys_popup = require("awful.hotkeys_popup")
require("awful.hotkeys_popup.keys") require("awful.hotkeys_popup.keys")
-- OpenWeather API -- OpenWeather API
-- !Create file ~/.config/awesome/weather and paste API from OpenWeather, latitude and longitude, each on separate lines -- WARNING: Create file ~/.config/awesome/weather and paste API from OpenWeather, latitude and longitude, each on separate line
local WEATHER_FILE = os.getenv("HOME") .. "/.config/awesome/weather" local WEATHER_FILE = os.getenv("HOME") .. "/.config/awesome/weather"
-- see if the file exists -- see if the file exists
local function file_exists(file) local function file_exists(file)
@ -123,7 +123,7 @@ awful.layout.layouts = {
-- awful.layout.suit.max, -- awful.layout.suit.max,
-- awful.layout.suit.max.fullscreen, -- awful.layout.suit.max.fullscreen,
-- awful.layout.suit.magnifier, -- awful.layout.suit.magnifier,
-- awful.layout.suit.corner.nw, awful.layout.suit.corner.nw,
-- awful.layout.suit.corner.ne, -- awful.layout.suit.corner.ne,
-- awful.layout.suit.corner.sw, -- awful.layout.suit.corner.sw,
-- awful.layout.suit.corner.se, -- awful.layout.suit.corner.se,
@ -160,14 +160,14 @@ menubar.utils.terminal = terminal -- Set the terminal for applications that requ
-- }}} -- }}}
-- Keyboard map indicator and switcher -- Keyboard map indicator and switcher
-- mykeyboardlayout = awful.widget.keyboardlayout() -- local mykeyboardlayout = awful.widget.keyboardlayout()
-- {{{ Wibar -- {{{ Wibar
-- Create a textclock widget -- Create a textclock widget
local mytextclock = wibox.widget.textclock(" %d.%m.%Y, %H:%M:%S, %j ", 1) local mytextclock = wibox.widget.textclock(" %d.%m.%Y, %H:%M:%S ", 1)
local cw = calendar_widget({ local cw = calendar_widget({
theme = "nord", theme = "naughty",
placement = "top_right", placement = "top_right",
previous_month_button = 4, previous_month_button = 4,
next_month_button = 5, next_month_button = 5,
@ -282,15 +282,29 @@ awful.screen.connect_for_each_screen(function(s)
-- Add widgets to the wibox -- Add widgets to the wibox
s.mywibox:setup({ s.mywibox:setup({
layout = wibox.layout.align.horizontal, layout = wibox.layout.align.horizontal,
{ -- Left widgets {
-- Left widgets
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
--mylauncher, --mylauncher,
s.mytaglist, s.mytaglist,
s.mypromptbox, s.mypromptbox,
}, },
s.mytasklist, -- Middle widget s.mytasklist, -- Middle widget
{ -- Right widgets {
-- Right widgets
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
github_contributions_widget({
username = "kristoferssolo",
days = 356,
color_of_empty_cells = "",
with_border = true,
margin_top = 1,
theme = "teal",
}),
github_activity_widget({
username = "kristoferssolo",
number_of_events = 10,
}),
wibox.widget.systray(), wibox.widget.systray(),
cpu_widget({ cpu_widget({
width = 50, width = 50,
@ -301,25 +315,7 @@ awful.screen.connect_for_each_screen(function(s)
process_info_max_length = -1, process_info_max_length = -1,
timeout = 1, timeout = 1,
}), }),
ram_widget({
color_used = beautiful.bg_urgent,
color_free = beautiful.fg_normal,
color_buf = beautiful.border_color_active,
widget_height = 25,
widget_width = 25,
widget_show_buf = false,
timeout = 1,
}),
net_speed_widget(), net_speed_widget(),
-- pacman_widget({
-- interval = 600, -- Refresh every 10 minutes
-- popup_bg_color = "#222222",
-- popup_border_width = 1,
-- popup_border_color = "#7e7e7e",
-- popup_height = 10, -- 10 packages shown in scrollable window
-- popup_width = 300,
-- polkit_agent_path = "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
-- }),
spotify_widget({ spotify_widget({
play_icon = "/usr/share/icons/Papirus-Light/24x24/categories/spotify.svg", play_icon = "/usr/share/icons/Papirus-Light/24x24/categories/spotify.svg",
pause_icon = "/usr/share/icons/Papirus-Dark/24x24/panel/spotify-indicator.svg", pause_icon = "/usr/share/icons/Papirus-Dark/24x24/panel/spotify-indicator.svg",
@ -331,8 +327,8 @@ awful.screen.connect_for_each_screen(function(s)
timeout = 1, timeout = 1,
}), }),
weather_widget({ weather_widget({
coordinates = { latitude, longitude },
api_key = API, api_key = API,
coordinates = { latitude, longitude },
font_name = "JetBrainsMono NF 10", font_name = "JetBrainsMono NF 10",
both_units_widget = false, both_units_widget = false,
units = "metric", units = "metric",
@ -343,19 +339,6 @@ awful.screen.connect_for_each_screen(function(s)
icons_extension = ".png", icons_extension = ".png",
timeout = 120, timeout = 120,
}), }),
volume_widget({
mixer_cmd = "pulsemixer",
step = 1,
widget_type = "horizontal_bar",
device = "pulse",
main_color = beautiful.fg_normal,
mute_color = "#4b4b4bff",
bg_color = "#ffffff11",
width = 50,
margins = 7,
shape = "bar",
with_icon = true,
}),
logout_menu_widget({ logout_menu_widget({
font = "JetBrainsMono NF 10", font = "JetBrainsMono NF 10",
onlogout = function() onlogout = function()
@ -694,7 +677,6 @@ awful.rules.rules = {
"Nsxiv", "Nsxiv",
"Galculator", "Galculator",
}, },
-- Note that the name property shown in xprop might be set slightly after creation of the client -- Note that the name property shown in xprop might be set slightly after creation of the client
-- and the name shown there might not match defined rules here. -- and the name shown there might not match defined rules here.
name = { name = {
@ -713,7 +695,15 @@ awful.rules.rules = {
{ rule_any = { type = { "normal", "dialog" } }, properties = { titlebars_enabled = false } }, { rule_any = { type = { "normal", "dialog" } }, properties = { titlebars_enabled = false } },
{ {
rule_any = { class = { "steam_app_1172470", "steam_app_1237970", "steam_app_289070" } }, rule_any = {
class = {
-- "steam_app_1172470",
-- "steam_app_1237970",
-- "steam_app_289070",
-- "steam_app_1172380",
"steam_app_1774580",
},
},
properties = { screen = 1, fullscreen = true, floating = true }, properties = { screen = 1, fullscreen = true, floating = true },
}, },
{ {
@ -765,20 +755,24 @@ client.connect_signal("request::titlebars", function(c)
) )
awful.titlebar(c):setup({ awful.titlebar(c):setup({
{ -- Left {
-- Left
awful.titlebar.widget.iconwidget(c), awful.titlebar.widget.iconwidget(c),
buttons = buttons, buttons = buttons,
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
}, },
{ -- Middle {
{ -- Title -- Middle
{
-- Title
align = "center", align = "center",
widget = awful.titlebar.widget.titlewidget(c), widget = awful.titlebar.widget.titlewidget(c),
}, },
buttons = buttons, buttons = buttons,
layout = wibox.layout.flex.horizontal, layout = wibox.layout.flex.horizontal,
}, },
{ -- Right {
-- Right
awful.titlebar.widget.floatingbutton(c), awful.titlebar.widget.floatingbutton(c),
awful.titlebar.widget.maximizedbutton(c), awful.titlebar.widget.maximizedbutton(c),
awful.titlebar.widget.stickybutton(c), awful.titlebar.widget.stickybutton(c),
@ -801,6 +795,3 @@ end)
client.connect_signal("unfocus", function(c) client.connect_signal("unfocus", function(c)
c.border_color = beautiful.border_normal c.border_color = beautiful.border_normal
end) end)
-- awful.spawn.with_shell("spotify")
awful.spawn.with_shell("discord")

View File

@ -4,7 +4,7 @@
# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes` # Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes`
# for a list of all available themes # for a list of all available themes
--theme="Dracula" --theme="base16-256"
# Enable this to use italic text on the terminal. This is not supported on all # Enable this to use italic text on the terminal. This is not supported on all
# terminal emulators (like tmux, by default): # terminal emulators (like tmux, by default):

View File

@ -2,7 +2,7 @@
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/usr/share/btop/themes/dracula.theme" color_theme = "/usr/share/btop/themes/tokyo-night.theme"
#* 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 = False theme_background = False
@ -47,14 +47,14 @@ 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", separate values with whitespace. #* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
shown_boxes = "mem proc net cpu" shown_boxes = "cpu mem net proc"
#* 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 = "cpu lazy" proc_sorting = "memory"
#* Reverse sorting order, True or False. #* Reverse sorting order, True or False.
proc_reversed = False proc_reversed = False
@ -193,7 +193,7 @@ net_download = 100
net_upload = 100 net_upload = 100
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = True net_auto = False
#* Sync the auto scaling for download and upload to whichever currently has the highest scale. #* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = False net_sync = False

3
.config/btop/btop.log Normal file
View File

@ -0,0 +1,3 @@
2023/08/10 (02:10:35) | ===> btop++ v.1.2.13
2023/08/10 (02:10:35) | ERROR: Stall in Runner thread, restarting!

460
.config/dunst/dunstrc Normal file
View File

@ -0,0 +1,460 @@
# See dunst(5) for all configuration options
[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 = none
### Geometry ###
# dynamic width from 0 to 300
width = (0, 300)
# constant width of 300
# width = 300
# The maximum height of a single notification, excluding the frame.
height = 300
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 5x25
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 0
### Progress bar ###
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Corner radius for the progress bar. 0 disables rounded corners.
progress_bar_corner_radius = 0
# Corner radius for the icon image.
icon_corner_radius = 0
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# 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.). (X11 only)
transparency = 25
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
# If gap_size is greater than 0, this setting will be ignored.
separator_height = 1
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# 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 = "#15161e"
# Size of gap to display between notifications - requires a compositor.
# If value is greater than 0, separator_height will be ignored and a border
# of size frame_width will be drawn around each notification instead.
# Click events on gaps do not currently propagate to applications below.
gap_size = 1
# 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.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
idle_threshold = 120
### Text ###
font = JetBrainsMono NF 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# 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
# <https://docs.gtk.org/Pango/pango_markup.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 = full
# 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
# %% Literal %
# Markup is allowed
format = "<b>%s</b>%p\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Recursive icon lookup. You can set a single theme, instead of having to
# define all lookup paths.
enable_recursive_icon_lookup = true
# Set icon theme (only used for recursive icon lookup)
icon_theme = Papirus
# You can also set multiple icon themes, with the leftmost one being used first.
# icon_theme = "Adwaita, breeze"
# Align icons left/right/top/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 32
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128
# Paths to default icons (only necessary when not using recursive icon lookup)
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# 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/xdg-open
# 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
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 8
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = 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
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# 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
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#16161e"
foreground = "#c0caf5"
frame_color = "#29a4bd"
timeout = 5
# Icon for notifications with low urgency, uncomment to enable
#new_icon = /path/to/icon
[urgency_normal]
background = "#1a1b26"
foreground = "#c0caf5"
frame_color = "#29a4bd"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#new_icon = /path/to/icon
[urgency_critical]
background = "#292e42"
foreground = "#db4b4b"
frame_color = "#db4b4b"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#new_icon = /path/to/icon
# 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 (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# icon_position
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
# hide_text
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# 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: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = 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
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@ -8,7 +8,7 @@
# This file was shipped with 1.3.3. # This file was shipped with 1.3.3.
# Use fastfetch --print-config > ~/.config/fastfetch/config.conf to overwrite this with the current defaults # Use fastfetch --print-config > ~/.config/fastfetch/config.conf to overwrite this with the current defaults
# Below some often usefull options are listed. Uncomment and modify them so they take affect. # Below some often useful options are listed. Uncomment and modify them so they take affect.
# Note that there are a lot more options than the ones listed here, take a look at "fastfetch --help". # Note that there are a lot more options than the ones listed here, take a look at "fastfetch --help".
# Of course all of them can be made persistent here too. # Of course all of them can be made persistent here too.
@ -26,7 +26,7 @@
# List available modules with "fastfetch --list-modules". # List available modules with "fastfetch --list-modules".
# Get the default structure with "fastfetch --print-structure". # Get the default structure with "fastfetch --print-structure".
# --structure Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Resolution:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Terminal:TerminalFont:CPU:GPU:Memory:Disk:Battery:Locale:Break:Colors # --structure Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Resolution:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Terminal:TerminalFont:CPU:GPU:Memory:Disk:Battery:Locale:Break:Colors
--structure Title:Separator:OS:Host:Kernel:Uptime:Break:Packages:Resolution:Break:CPU:GPU:Memory:Disk:Battery:Break:Song:PublicIP:DateTime --structure Title:Separator:OS:Host:Kernel:Uptime:Break:Packages:Break:Memory:Disk:Battery:Break:DateTime:Break:Colors
# Multithreading option: # Multithreading option:
# Sets if fastfetch should use multiple threads to detect the values. # Sets if fastfetch should use multiple threads to detect the values.
@ -161,7 +161,7 @@
--kernel-key Penguin --kernel-key Penguin
# --uptime-key Uptime # --uptime-key Uptime
--uptime-key Time without touching grass --uptime-key Time without touching grass
--processes-key Processes # --processes-key Processes
# --packages-key Packages # --packages-key Packages
# --packages-key "" # --packages-key ""
--packages-key Bloat amount --packages-key Bloat amount
@ -199,7 +199,7 @@
# --local-ip-key Local IP ({1}) # --local-ip-key Local IP ({1})
# --public-ip-key Public IP # --public-ip-key Public IP
# --public-ip-key Doxxed # --public-ip-key Doxxed
--public-ip-key AAA Server # --public-ip-key AAA Server
--player-key Media Player --player-key Media Player
# --song-key Song # --song-key Song
# --song-key Earrape # --song-key Earrape

View File

@ -1,8 +1,9 @@
[General] [General]
contrastOpacity=188 contrastOpacity=188
drawColor=#ff0000
filenamePattern=%Y-%m-%d_%H-%M-%S filenamePattern=%Y-%m-%d_%H-%M-%S
saveAfterCopy=true saveAfterCopy=true
savePath=~/Pictures/screenshots savePath=/home/kristofers/Downloads
showMagnifier=true showMagnifier=true
squareMagnifier=true squareMagnifier=true
uiColor=#ff0000 uiColor=#ffffff

View File

@ -0,0 +1 @@
modules=/usr/lib/gtklock/playerctl-module.so;/usr/lib/gtklock/powerbar-module.so;/usr/lib/gtklock/userinfo-module.so

11
.config/gtklock/style.css Normal file
View File

@ -0,0 +1,11 @@
window#HDMI-A-2 {
background-image: url("/tmp/HDMI-A-2.png");
}
window#DP-1 {
background-image: url("/tmp/DP-1.png");
}
window#eDP-1 {
background-image: url("/tmp/eDP-1.png");
}

View File

@ -15,7 +15,7 @@ monitor=,preferred,auto,1
# Execute your favorite apps at launch # Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
exec-once = pipewire & pipewire-pulse & wireplumber & waybar & hyprpaper & tuxedo-control-center & flameshot & librewolf & nextcloud & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY & xrdb "$XDG_CONFIG_HOME/X11/xresources" exec-once = pipewire & pipewire-pulse & wireplumber & waybar & hyprpaper & tuxedo-control-center & flameshot & librewolf & nextcloud & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY & xrdb "$XDG_CONFIG_HOME/X11/xresources" & spotifyd --no-daemon & syncthing
@ -49,8 +49,8 @@ general {
gaps_in = 5 gaps_in = 5
gaps_out = 20 gaps_out = 20
border_size = 2 border_size = 2
col.active_border = rgba(b9bbbdee) col.active_border = rgb(27a1b9)
col.inactive_border = rgba(000000aa) col.inactive_border = rgba(15161eaa)
layout = master layout = master
} }
@ -223,4 +223,4 @@ bindel = , XF86AudioLowerVolume, exec, pulsemixer --change-volume -2 # decrease
bindel = , XF86AudioMute, exec, pulsemixer --toggle-mute # mute volume bindel = , XF86AudioMute, exec, pulsemixer --toggle-mute # mute volume
bindel = , XF86AudioPlay, exec, playerctl -a play-pause # pause/play everything bindel = , XF86AudioPlay, exec, playerctl -a play-pause # pause/play everything
bindl = , switch:Lid Switch, exec, lock

View File

@ -0,0 +1,3 @@
plugins = {
"Duckonaut/split-monitor-workspaces"
}

View File

@ -0,0 +1,12 @@
ipc = off
splash = true
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-1.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-2.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-3.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-4.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-5.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-6.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-7.png
preload = ~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-8.png
wallpaper = ,~/Pictures/wallpapers/Linux-Dynamic-Wallpapers/Firewatch2/Firewatch2-1.png

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Basic Settings # Basic Settings
set autoquit on set autoquit true
set cleaner "~/.config/lf/cleaner" set cleaner "~/.config/lf/cleaner"
set drawbox true set drawbox true
set hidden true set hidden true
@ -95,11 +95,6 @@ cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
cmd mkfile $touch "$(echo $* | tr ' ' '\ ')" cmd mkfile $touch "$(echo $* | tr ' ' '\ ')"
cmd setbg "$1" cmd setbg "$1"
cmd dragon %dragon-drop -a -x $fx
cmd dragon-stay %dragon-drop -a %fx
cmd dragon-individual %dragon-drop $fx
# Bindings # Bindings
# Remove some defaults # Remove some defaults
map "'" map "'"
@ -139,10 +134,14 @@ map nN $spacefm -t "${PWD}" & disown >/dev/null 2>&1
map nn $setsid -f $TERMINAL >/dev/null 2>&1 map nn $setsid -f $TERMINAL >/dev/null 2>&1
map o &mimeopen "$f" map o &mimeopen "$f"
# Dragon Mapping cmd ripdrag-all %ripdrag --all --and-exit $fx
map dr dragon cmd ripdrag-individual %ripdrag --keep --target $fx
map ds dragon-stay cmd ripdrag-target %ripdrag --target
map di dragon-individual
# ripdrag Mapping
map da ripdrag-all
map di ripdrag-individual
#map dt ripdrag-target
# Source Bookmarks # Source Bookmarks

1
.config/mpv/mpv.conf Normal file
View File

@ -0,0 +1 @@
speed=2

View File

@ -244,8 +244,6 @@ detect-client-opacity = true;
# Specify refresh rate of the screen. If not specified or 0, picom will # Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
refresh-rate = 75
#refresh-rate = 0
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with # boost performance. This should not be used with

View File

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/bash
# Use neovim for vim if present # Use neovim for vim if present
[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d" [ -x "$(command -v nvim)" ] && vimdiff="nvim -d"
# Vervosity and settings that you pretty much just always are going to wand # Vervosity and settings that you pretty much just always are going to wand
alias \ alias \
bc="bc -ql" \ bc="bc -ql" \
cp="cp -iv" \ cp="cp -vi" \
df="df -h" \ df="df -h" \
mkdir="mkdir -pv" \ mkdir="mkdir -pv" \
mv="mv -iv" \ mv="mv -iv" \
@ -29,6 +29,7 @@ alias \
day="redshift -PO 6500" \ day="redshift -PO 6500" \
dv="doasedit" \ dv="doasedit" \
e="$EDITOR" \ e="$EDITOR" \
fetch="fastfetch" \
g="git" \ g="git" \
gP="git push" \ gP="git push" \
ga="git add" \ ga="git add" \
@ -36,6 +37,7 @@ alias \
gd="git diff" \ gd="git diff" \
gp="git pull" \ gp="git pull" \
gs="git status" \ gs="git status" \
j="joshutoub" \
lf="lfub" \ lf="lfub" \
lg="lazygit" \ lg="lazygit" \
matrix="unimatrix -s 95" \ matrix="unimatrix -s 95" \
@ -49,11 +51,10 @@ alias \
weather="curl wttr.in/" \ weather="curl wttr.in/" \
ww="$EDITOR ~/vimwiki/index.md" \ ww="$EDITOR ~/vimwiki/index.md" \
x="xplr -C ~/.config/xplr/hack.lua" \ x="xplr -C ~/.config/xplr/hack.lua" \
j="joshutoub" \
z="zathura" z="zathura"
# doas not required for some system commands # doas not required for some system commands
for command in mount umount rsv sv pacman updatedb su shutdown poweroff reboot zzz systemctl wg wg-quick; do for command in mount umount rsv sv pacman updatedb su shutdown poweroff reboot zzz systemctl wg wg-quick; do
alias $command="doas $command" alias "$command=doas $command"
done done
unset command unset command

View File

@ -67,7 +67,7 @@ export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default" export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
# export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java" export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
export MYSQL_HISTFILE="$XDG_DATA_HOME/mysql_history" export MYSQL_HISTFILE="$XDG_DATA_HOME/mysql_history"

View File

@ -0,0 +1,68 @@
# Sample config file
# The theme colours can be an rgb string of the form "255, 255, 255" or a string that references the colours from your terminal theme: Reset, Black, Red, Green, Yellow, Blue, Magenta, Cyan, Gray, DarkGray, LightRed, LightGreen, LightYellow, LightBlue, LightMagenta, LightCyan, White.
theme:
active: Green # current playing song in list
banner: LightGreen # the "spotify-tui" banner on launch
error_border: Red # error dialog border
error_text: LightRed # error message text (e.g. "Spotify API reported error 404")
hint: Yellow # hint text in errors
hovered: Magenta # hovered pane border
inactive: Gray # borders of inactive panes
playbar_background: Black # background of progress bar
playbar_progress: LightGreen # filled-in part of the progress bar
playbar_progress_text: Green # song length and time played/left indicator in the progress bar
playbar_text: White # artist name in player pane
selected: LightGreen # a) selected pane border, b) hovered item in list, & c) track title in player
text: "255, 255, 255" # text in panes
header: White # header text in panes (e.g. 'Title', 'Artist', etc.)
behavior:
seek_milliseconds: 5000
volume_increment: 5
# The lower the number the higher the "frames per second". You can decrease this number so that the audio visualisation is smoother but this can be expensive!
tick_rate_milliseconds: 250
# Enable text emphasis (typically italic/bold text styling). Disabling this might be important if the terminal config is otherwise restricted and rendering text escapes interferes with the UI.
enable_text_emphasis: true
# Controls whether to show a loading indicator in the top right of the UI whenever communicating with Spotify API
show_loading_indicator: true
# Disables the responsive layout that makes the search bar smaller on bigger
# screens and enforces a wide search bar
enforce_wide_search_bar: false
# Determines the text icon to display next to "liked" Spotify items, such as
# liked songs and albums, or followed artists. Can be any length string.
# These icons require a patched nerd font.
liked_icon:
shuffle_icon: 🔀
repeat_track_icon: 🔂
repeat_context_icon: 🔁
playing_icon:
paused_icon:
# Sets the window title to "spt - Spotify TUI" via ANSI escape code.
set_window_title: true
keybindings:
# Key stroke can be used if it only uses two keys:
# ctrl-q works,
# ctrl-alt-q doesn't.
back: "ctrl-q"
jump_to_album: "a"
# Shift modifiers use a capital letter (also applies with other modifier keys
# like ctrl-A)
jump_to_artist_album: "A"
manage_devices: "d"
decrease_volume: "-"
increase_volume: "="
toggle_playback: " "
seek_backwards: "<"
seek_forwards: ">"
next_track: "n"
previous_track: "p"
copy_song_url: "c"
copy_album_url: "C"
help: "?"
shuffle: "ctrl-s"
repeat: "r"
search: "/"
audio_analysis: "v"
jump_to_context: "o"
basic_view: "B"
add_item_to_queue: "z"

View File

@ -1,6 +1,6 @@
# Disable the blank line at the start of the prompt # Disable the blank line at the start of the prompt
add_newline = false add_newline = false
command_timeout = 1000
# Replace the "" symbol in the prompt with "➜" # Replace the "" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character" [character] # The name of the module we are configuring is "character"

1
.config/tmux/plugins Symbolic link
View File

@ -0,0 +1 @@
../../../../../../home/kristofers/.local/share/tmux/plugins

View File

@ -0,0 +1,37 @@
find
man
tldr
sed
awk
tr
cp
ls
grep
xargs
rg
ps
mv
kill
lsof
less
head
tail
tar
cp
rm
rename
jq
cat
ssh
cargo
git
git-worktree
git-status
git-commit
git-rebase
docker
docker-compose
stow
chmod
chown
make

View File

@ -0,0 +1,21 @@
golang
solidity
vlang
v
nodejs
javascript
tmux
typescript
zsh
cpp
c
lua
rust
python
bash
php
haskell
ArnoldC
css
html
gdb

86
.config/tmux/tmux.conf Normal file
View File

@ -0,0 +1,86 @@
# Set true color
set-option -sa terminal-overrides ",Alacritty*:Tc"
set-option -sa terminal-overrides ",alacritty*:Tc"
set-option -sa terminal-overrides ",xterm*:Tc"
set-option -g status-position top
set -g mouse on
# Disable setatus bar
set -g status on
# Set prefix
unbind C-b
set -g prefix C-s
# Shift-Alt vim keys to switch windows
bind -n M-H previous-window
bind -n M-L next-window
# Ctrls-Shift-Alt vim keys to switch windows
# bind -n C-M-H previous-session
# bind -n C-M-L next-session
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Open panes in current directory
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind-key -r i run-shell "tmux neww chtsh"
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
set -g @plugin "tmux-plugins/tpm"
set -g @plugin "tmux-plugins/tmux-sensible"
set -g @plugin "christoomey/vim-tmux-navigator"
set -g @plugin "tmux-plugins/tmux-yank"
set -g @plugin "ofirgall/tmux-window-name"
# set vi-mode
set-window-option -g mode-keys vi
# keybindings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selectet-and-cancel
# TokyoNight colors for Tmux
set -g mode-style "fg=#7aa2f7,bg=#3b4261"
set -g message-style "fg=#7aa2f7,bg=#3b4261"
set -g message-command-style "fg=#7aa2f7,bg=#3b4261"
set -g pane-border-style "fg=#3b4261"
set -g pane-active-border-style "fg=#7aa2f7"
set -g status "on"
set -g status-justify "left"
set -g status-style "fg=#7aa2f7,bg=#16161e"
set -g status-left-length "100"
set -g status-right-length "100"
set -g status-left-style NONE
set -g status-right-style NONE
set -g status-left "#[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %d-%m-%Y  %H:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e"
setw -g window-status-separator ""
setw -g window-status-style "NONE,fg=#a9b1d6,bg=#16161e"
setw -g window-status-format "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[default] #I  #W #F #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]"
setw -g window-status-current-format "#[fg=#16161e,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I  #W #F #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]"
# tmux-plugins/tmux-prefix-highlight support
set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#16161e]#[fg=#16161e]#[bg=#e0af68]"
set -g @prefix_highlight_output_suffix ""
run "~/.config/tmux/plugins/tpm/tpm"

View File

@ -143,7 +143,6 @@
}, },
"network": { "network": {
"interface": "wlo1*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ", "format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ", "tooltip-format": "{ifname} via {gwaddr} ",
@ -229,14 +228,6 @@
"on-click-right": "qpwgraph" "on-click-right": "qpwgraph"
}, },
"custom/wireguard": {
"format": "{}<big> 嬨</big>",
"exec": "~/.config/waybar/scripts/wireguard.sh",
"on-click": "rofi -modi 'WireGuard:~/.config/waybar/scripts/wireguard-rofi.sh' -show WireGuard",
"interval": 60,
"return-type": "json"
},
"custom/github": { "custom/github": {
"format": "{} ", "format": "{} ",
"return-type": "json", "return-type": "json",

View File

@ -1,14 +1,19 @@
* { * {
/* `otf-font-awesome` is required to be installed for icons */ /* `otf-font-awesome` is required to be installed for icons */
font-family: JetBrains Mono NF, FontAwesome, Roboto, Helvetica, Arial, font-family:
JetBrains Mono NF,
FontAwesome,
Roboto,
Helvetica,
Arial,
sans-serif; sans-serif;
font-size: 13px; font-size: 13px;
color: #fff; color: #c0caf5;
} }
window#waybar { window#waybar {
border-top: 3px solid transparent; border-top: 3px solid transparent;
color: #fff; color: #c0caf5;
transition-property: background-color; transition-property: background-color;
transition-duration: 0.5s; transition-duration: 0.5s;
background-color: transparent; background-color: transparent;
@ -24,10 +29,6 @@ window#waybar.hidden {
opacity: 0.2; opacity: 0.2;
} }
/* window#waybar.termite { */
/* background-color: #3f3f3f; */
/* } */
window#waybar.chromium { window#waybar.chromium {
background-color: #000; background-color: #000;
border: none; border: none;
@ -44,28 +45,24 @@ button {
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover { button:hover {
background: inherit; background: inherit;
box-shadow: inset 0 3px #fff; box-shadow: inset 0 3px #c0caf5;
} }
#workspaces button { #workspaces button {
padding: 0 5px; padding: 0 5px;
color: #fff; color: #c0caf5;
} }
/* #workspaces button:hover { */
/* background: rgba(0, 0, 0, 0.2); */
/* } */
#workspaces button.active { #workspaces button.active {
box-shadow: inset 0 3px #fff; box-shadow: inset 0 3px #c0caf5;
} }
#workspaces button.urgent { #workspaces button.urgent {
background-color: #eb4d4b; background-color: #db4b4b;
} }
#mode { #mode {
border-bottom: 3px solid #fff; border-bottom: 3px solid #c0caf5;
} }
#clock, #clock,
@ -92,7 +89,7 @@ button:hover {
} }
#custom-pipewire.muted { #custom-pipewire.muted {
color: #5b5b5b; color: #414868;
} }
#window, #window,
@ -112,21 +109,21 @@ button:hover {
#battery.charging, #battery.charging,
#battery.plugged { #battery.plugged {
color: #26a65b; color: #1abc9c;
} }
@keyframes blink { @keyframes blink {
to { to {
color: #fff; color: #c0caf5;
} }
} }
#battery.warning:not(.charging) { #battery.warning:not(.charging) {
color: #ff9e50; color: #e0af68;
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
color: #f53c3c; color: #db4b4b;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: linear; animation-timing-function: linear;
@ -135,28 +132,16 @@ button:hover {
} }
#pulseaudio.muted { #pulseaudio.muted {
color: #5b5b5b; color: #414868;
} }
#custom-media { #custom-media {
color: #2a5c45; color: #41a6b5;
min-width: 100px; min-width: 100px;
} }
#custom-media.custom-spotify {
color: #66cc99;
}
#custom-media.custom-spotify.paused {
color: #cccccc;
}
#custom-media.custom-vlc {
color: #ffa000;
}
#temperature.critical { #temperature.critical {
color: #eb4d4b; color: #db4b4b;
} }
#tray > .passive { #tray > .passive {
@ -168,25 +153,5 @@ button:hover {
} }
#network.disconnected { #network.disconnected {
color: #f53c3c; color: #db4b4b;
}
#mpd {
color: #2a5c45;
}
#mpd.disconnected {
color: #f53c3c;
}
#mpd.stopped {
color: #90b1b1;
}
#mpd.paused {
color: #51a37a;
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
} }

14
.config/x11/opt-apps Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
autostart="picom nextcloud telegram-desktop headset-charge-indicator spotify-launcher ferdium discord transmission-daemon librewolf easyeffects discord syncthing"
for program in $autostart; do
pidof -sx "$program" || "$program" &
done
# >/dev/null 2>&1
setxkbmap lv &
remaps & # run the remaps script, switching caps/esc and more; check it for more info
xrandr --output DisplayPort-0 --mode 1920x1080 --rate 75 --output HDMI-A-0 --mode 1920x1080 --rate 60 --left-of DisplayPort-0 &
# spotifyd --no-daemon &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# xinitrc runs automatically when you run startx. # xinitrc runs automatically when you run startx.
@ -8,8 +8,8 @@
# (login screen) and so they are needed there. To prevent doubling up commands, # (login screen) and so they are needed there. To prevent doubling up commands,
# I source them here with the line below. # I source them here with the line below.
if [ -f "$XDG_CONFIG_HOME/X11/xprofile" ]; then if [ -f "$XDG_CONFIG_HOME/x11/xprofile" ]; then
. "$XDG_CONFIG_HOME/X11/xprofile" . "$XDG_CONFIG_HOME/x11/xprofile"
else else
. "$HOME/.xprofile" . "$HOME/.xprofile"
fi fi

View File

@ -5,17 +5,17 @@
# xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens. # xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens.
setbg & # set the background with the `setbg` script setbg & # set the background with the `setbg` script
xrdb "$XDG_CONFIG_HOME/X11/xresources" & xrdb "$XDG_CONFIG_HOME/x11/xresources" &
xrdbpid=$! # Uncomment to use Xresources colors/settings on startup xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
remaps & # run the remaps script, switching caps/esc and more; check it for more info
autostart="pipewire pipewire-pulse wireplumber dunst picom flameshot" autostart="pipewire pipewire-pulse wireplumber dunst flameshot"
for program in $autostart; do for program in $autostart; do
pidof -s "$program" || "$program" & pidof -sx "$program" || "$program" &
done >/dev/null 2>&1 done
# >/dev/null 2>&1
. "$XDG_CONFIG_HOME/X11/opt-apps" . "$XDG_CONFIG_HOME/x11/opt-apps"
# Ensure that xrdb has finished running before moving on to start the WM/DE. # Ensure that xrdb has finished running before moving on to start the WM/DE.
[ -n "$xrdbpid" ] && wait "$xrdbpid" [ "$xrdbpid" != "" ] && wait "$xrdbpid"

22
.config/x11/xresources Normal file
View File

@ -0,0 +1,22 @@
! TokyoNight colors for Xresources
*background: #1a1b26
*foreground: #c0caf5
*color0: #15161e
*color1: #f7768e
*color2: #9ece6a
*color3: #e0af68
*color4: #7aa2f7
*color5: #bb9af7
*color6: #7dcfff
*color7: #a9b1d6
*color8: #414868
*color9: #f7768e
*color10: #9ece6a
*color11: #e0af68
*color12: #7aa2f7
*color13: #bb9af7
*color14: #7dcfff
*color15: #c0caf5

View File

@ -1,53 +1,51 @@
set window-title-basename "true" set window-title-basename "true"
set selection-clipboard "clipboard" set selection-clipboard "clipboard"
# Dracula color theme for Zathura # Tokyonight color theme for Zathura
# Swaps Foreground for Background to get a light version if the user prefers # Swaps Foreground for Background to get a light version if the user prefers
# #
# Dracula color theme # Tokyonight color theme
# #
set notification-error-bg "#ff5555" # Red set notification-error-bg "#f7768e"
set notification-error-fg "#f8f8f2" # Foreground set notification-error-fg "#c0caf5"
set notification-warning-bg "#ffb86c" # Orange set notification-warning-bg "#e0af68"
set notification-warning-fg "#44475a" # Selection set notification-warning-fg "#414868"
set notification-bg "#282a36" # Background set notification-bg "#1a1b26"
set notification-fg "#f8f8f2" # Foreground set notification-fg "#c0caf5"
set completion-bg "#282a36" # Background set completion-bg "#1a1b26"
set completion-fg "#6272a4" # Comment set completion-fg "#a9b1d6"
set completion-group-bg "#282a36" # Background set completion-group-bg "#1a1b26"
set completion-group-fg "#6272a4" # Comment set completion-group-fg "#a9b1d6"
set completion-highlight-bg "#44475a" # Selection set completion-highlight-bg "#414868"
set completion-highlight-fg "#f8f8f2" # Foreground set completion-highlight-fg "#c0caf5"
set index-bg "#282a36" # Background set index-bg "#1a1b26"
set index-fg "#f8f8f2" # Foreground set index-fg "#c0caf5"
set index-active-bg "#44475a" # Current Line set index-active-bg "#414868"
set index-active-fg "#f8f8f2" # Foreground set index-active-fg "#c0caf5"
set inputbar-bg "#282a36" # Background set inputbar-bg "#1a1b26"
set inputbar-fg "#f8f8f2" # Foreground set inputbar-fg "#c0caf5"
set statusbar-bg "#282a36" # Background set statusbar-bg "#1a1b26"
set statusbar-fg "#f8f8f2" # Foreground set statusbar-fg "#c0caf5"
set highlight-color "#ffb86c" # Orange set highlight-color "#e0af68"
set highlight-active-color "#ff79c6" # Pink set highlight-active-color "#9ece6a"
set default-bg "#282a36" # Background set default-bg "#1a1b26"
set default-fg "#f8f8f2" # Foreground set default-fg "#c0caf5"
set render-loading true set render-loading true
set render-loading-fg "#282a36" # Background set render-loading-fg "#1a1b26"
set render-loading-bg "#f8f8f2" # Foreground set render-loading-bg "#c0caf5"
# #
# Recolor mode settings # Recolor mode settings
# #
set recolor-lightcolor "#282a36" # Background set recolor-lightcolor "#1a1b26"
set recolor-darkcolor "#f8f8f2" # Foreground set recolor-darkcolor "#c0caf5"
# #
# Startup options # Startup options

1873
.config/zsh/.zcompdump Normal file

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case sensitive TAB
zstyle ':completion:*' rehash true # Automatically find new executables in path zstyle ':completion:*' rehash true # Automatically find new executables in path
# Speed up completions # Speed up completions
zstyle ':completion:*' accept-exact '*(N)' zstyle ':completion:*' accept-exact '*(N)'
zstyle ':completion:*' cache-path ~/.config/zsh/cache zstyle ':completion:*' cache-path ~/.cache/zsh/cache
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
zstyle ':completion:*' use-cache on zstyle ':completion:*' use-cache on
autoload -U compinit autoload -U compinit

View File

@ -1,2 +1,4 @@
#!/bin/sh #!/bin/sh
# fastfetch # fastfetch
export BW_SESSION="21gE9V14VDoh9QmUqq8sVfi1Cxp1Fsq2rr9+LBmk1eMLsbNNFFJhtRfuyI059o2Lq3w7HPLh5EkcFyLDZq4Bow=="

3
.gitignore vendored
View File

@ -1 +1,4 @@
.config/awesome/weather .config/awesome/weather
.config/transmission-daemon
.stfolder
.stversions

15
.local/bin/chtsh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
selected=$(cat ~/.config/tmux/tmux-cht-languages ~/.config/tmux/tmux-cht-command | fzf)
if [[ -z $selected ]]; then
exit 0
fi
read -p "Enter Query: " query
if rg -qs "$selected" ~/.config/tmux/tmux-cht-languages; then
query=$(echo $query | tr ' ' '+')
tmux neww zsh -c "echo \"curl cht.sh/$selected/$query/\" & curl cht.sh/$selected/$query & while [ : ]; do sleep 1; done"
else
tmux neww zsh -c "curl -s cht.sh/$selected~$query | less"
fi

View File

@ -20,9 +20,9 @@ cd "$dir" || exit 1
textype() { textype() {
textarget="$(getcomproot "$file" || echo "$file")" textarget="$(getcomproot "$file" || echo "$file")"
echo "$textarget" echo "$textarget"
command="luatex" command="xelatex"
(head -n5 "$textarget" | grep -qi "xelatex") && command="xelatex" (head -n5 "$textarget" | grep -qi "pdflatex") && command="pdflatex"
$command --output-directory="${textarget%/*}" "${textarget%.*}" $command -shell-escape --output-directory="${textarget%/*}" "${textarget%.*}"
grep -qi addbibresource "$textarget" && grep -qi addbibresource "$textarget" &&
biber --input-directory "${textarget%/*}" "${textarget%.*}" && biber --input-directory "${textarget%/*}" "${textarget%.*}" &&
$command --output-directory="${textarget%/*}" "${textarget%.*}" && $command --output-directory="${textarget%/*}" "${textarget%.*}" &&

0
.local/bin/imv-open Normal file → Executable file
View File

7
.local/bin/lock Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
for o in HDMI-A-2 DP-1 eDP-1; do
grim -o "$o" "/tmp/$o.png"
corrupter "/tmp/$o.png" "/tmp/$o.png" &
done
wait
exec gtklock "$@"

3
.local/bin/song-change Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
song=$(playerctl metadata --player=spotify --format "Title: {{ xesam:title }}\nArtist: {{ xesam:artist }}\nAlbum: {{ xesam:album }}")
notify-send "Music Player" "$song" --icon=~/.config/spotifyd/spotify.png

25
.local/bin/tmux-sessionizer Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
if [[ $# -eq 1 ]]; then
selected=$1
else
selected=$(find ~/repos/Rust/ ~/repos/ ~/vimwiki/university/3rd-semester/ ~/Nextcloud/repos/ -mindepth 1 -maxdepth 1 -type d | fzf)
fi
if [[ -z $selected ]]; then
exit 0
fi
selected_name=$(basename "$selected" | tr . _)
tmux_running=$(pgrep tmux)
if [[ -z $TMUX ]] && [[ -z $tmux_running ]]; then
tmux new-session -s "$selected_name" -c "$selected"
exit 0
fi
if ! tmux has-session -t="$selected_name" 2>/dev/null; then
tmux new-session -ds "$selected_name" -c "$selected"
fi
tmux switch-client -t "$selected_name"

View File

@ -1 +0,0 @@
.config/X11/xprofile