mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-25 17:41:32 +00:00
update other dotfiles
This commit is contained in:
parent
90a990138a
commit
b8e053d69f
1
home/awesome/.config/awesome/bling
Submodule
1
home/awesome/.config/awesome/bling
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 23b971777774880c0d2a4a5782061128b567c44e
|
|
@ -11,7 +11,7 @@ local wibox = require("wibox")
|
|||
-- Theme handling library
|
||||
local beautiful = require("beautiful")
|
||||
-- Notification library
|
||||
local naughty = require("naughty")
|
||||
local naughty do local old_dbus = dbus; dbus = nil; naughty = require("naughty") ; dbus = old_dbus ; end
|
||||
local menubar = require("menubar")
|
||||
local hotkeys_popup = require("awful.hotkeys_popup")
|
||||
-- Enable hotkeys help widget for VIM and other apps
|
||||
|
@ -176,7 +176,7 @@ awful.screen.connect_for_each_screen(function(s)
|
|||
set_wallpaper(s)
|
||||
|
||||
-- Each screen has its own tag table.
|
||||
awful.tag({ " ﳎ", " ", " ", " ", " ", " ", " ", " ", "龎 " }, s, awful.layout.layouts[1])
|
||||
awful.tag({ "🏠", "🌐", " ", "🧱", " ", " ", " ", " ", "龎 " }, s, awful.layout.layouts[1])
|
||||
|
||||
-- Create a promptbox for each screen
|
||||
s.mypromptbox = awful.widget.prompt()
|
||||
|
@ -589,15 +589,11 @@ ash("nitrogen --restore")
|
|||
ash("setxkbmap us,ru,fi ,winkeys grp:alt_shift_toggle")
|
||||
ash("picom &")
|
||||
|
||||
local notify_size = 90
|
||||
local notify_size = 100
|
||||
|
||||
local new_shape = function(cr, width, height)
|
||||
gears.shape.partially_rounded_rect(cr, 300, 100, true, false, true, true, 10)
|
||||
end
|
||||
|
||||
beautiful.notification_height = notify_size
|
||||
beautiful.notification_margin = -20
|
||||
beautiful.notification_border_color = "#ff0000"
|
||||
beautiful.notification_border_width = 10
|
||||
beautiful.notification_icon_size = notify_size
|
||||
-- beautiful.notification_shape = new_shape
|
||||
beautiful.notification_border_width = 5
|
||||
beautiful.notification_border_color = "#ff0000"
|
||||
|
|
|
@ -16,10 +16,10 @@ theme.font = "Mononoki Nerd Font 10"
|
|||
|
||||
-- {{{ Colors
|
||||
theme.fg_normal = "#ebdbb2"
|
||||
theme.fg_focus = "#282828"
|
||||
theme.fg_focus = "#ebdbb2"
|
||||
theme.fg_urgent = "#cc241d"
|
||||
theme.bg_normal = "#282828"
|
||||
theme.bg_focus = "#fabd2f"
|
||||
theme.bg_normal = "#3c3836"
|
||||
theme.bg_focus = "#665c54"
|
||||
theme.bg_urgent = "#282828"
|
||||
theme.bg_systray = theme.bg_normal
|
||||
-- }}}
|
||||
|
@ -28,8 +28,8 @@ theme.bg_systray = theme.bg_normal
|
|||
theme.useless_gap = dpi(5)
|
||||
theme.border_width = dpi(2)
|
||||
theme.border_normal = "#282828"
|
||||
theme.border_focus = "#fabd2f"
|
||||
theme.border_marked = "#b16286"
|
||||
theme.border_focus = "#665c54"
|
||||
theme.border_marked = "#fabd2f"
|
||||
-- }}}
|
||||
|
||||
-- {{{ Titlebars
|
||||
|
|
|
@ -108,7 +108,7 @@ method = ncurses
|
|||
; raw_target = /dev/stdout
|
||||
|
||||
# Raw data format. Can be 'binary' or 'ascii'.
|
||||
; data_format = binary
|
||||
; data_format = ascii
|
||||
|
||||
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
||||
; bit_format = 16bit
|
||||
|
@ -159,7 +159,7 @@ waves = 5
|
|||
|
||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||
; gravity = 100
|
||||
; gravity = 800
|
||||
|
||||
|
||||
# In bar height, bars that would have been lower that this will not be drawn.
|
||||
|
|
14
home/deadd/.config/deadd/bright
Executable file
14
home/deadd/.config/deadd/bright
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "inc" ]; then
|
||||
xbacklight -inc 5
|
||||
fi
|
||||
|
||||
if [ "$1" == "dec" ]; then
|
||||
xbacklight -lower 5
|
||||
fi
|
||||
|
||||
BRIGHTNESS=$(xbacklight -get)
|
||||
NOTI_ID=$(notify-send.py "Bildschirmhelligkeit" "$BRIGHTNESS/100" \
|
||||
--hint string:image-path:video-display boolean:transient:true \
|
||||
--replaces-process "brightness-popup")
|
284
home/deadd/.config/deadd/deadd.conf
Normal file
284
home/deadd/.config/deadd/deadd.conf
Normal file
|
@ -0,0 +1,284 @@
|
|||
[notification-center]
|
||||
|
||||
# Margin at the top of the notification center in pixels. This can be
|
||||
# used to avoid overlap between the notification center and bars such
|
||||
# as polybar or i3blocks.
|
||||
marginTop = 0
|
||||
|
||||
# Margin at the bottom of the notification center in pixels.
|
||||
marginBottom = 0
|
||||
|
||||
# Margin to the right of the notification center in pixels.
|
||||
marginRight = 0
|
||||
|
||||
|
||||
# Width of the notification center in pixels.
|
||||
width = 500
|
||||
|
||||
# Monitor on which the notification center will be printed.
|
||||
monitor = 0
|
||||
|
||||
# If true, the notification center will open on the screen, on which the
|
||||
# mouse is
|
||||
followMouse = true
|
||||
|
||||
|
||||
# (Optional) Command to run at startup. This can be used to setup
|
||||
# button states.
|
||||
# startupCommand = "deadd-notification-center-startup"
|
||||
|
||||
# If newFirst is set to true, newest notifications appear on the top
|
||||
# of the notification center. Else, notifications stack, from top to
|
||||
# bottom.
|
||||
newFirst = true
|
||||
|
||||
# Text size for the time in the notification center
|
||||
timeTextSize = 32px
|
||||
|
||||
# If true, the transient field in notifications will be ignored and
|
||||
# the notification will be persisted in the notification center anyways
|
||||
ignoreTransient = false
|
||||
|
||||
# If true, markup (<u>, <i>, <b>, <a>) will be displayed properly
|
||||
useMarkup = true
|
||||
|
||||
# If true, html entities (& for &, % for %, etc) will be parsed
|
||||
# properly. This is useful for chromium-based apps, which tend to send
|
||||
# these in notifications.
|
||||
parseHtmlEntities = true
|
||||
|
||||
# If set to true, the parameter noClosedMsg can be set on
|
||||
# notifications. If noClosedMsg is set to true on a notification,
|
||||
# DBUS NotificationClosed messages will not be send for this
|
||||
# notification.
|
||||
configSendNotiClosedDbusMessage = false
|
||||
|
||||
# If set to true: If no icon is passed by the app_icon parameter
|
||||
# and no application "desktop-entry"-hint is present, the notification
|
||||
# center will try to guess the icon from the application name (if present).
|
||||
# Default is true.
|
||||
guessIconFromAppname = false
|
||||
|
||||
# Truncates notification bodies with '...' at the specified number of
|
||||
# lines. If -1 is specified, the body text will not be truncated.
|
||||
# Applies only to notifications within the notification center.
|
||||
shortenBody = -1
|
||||
|
||||
# See section "Notification based scripting" for an explanation
|
||||
#match = "title=Abc;body=abc":"app=notify-send"
|
||||
#modify = "transient=false"
|
||||
run = "":"play /home/horhik/Music/fire.mp3"
|
||||
|
||||
[notification-center-notification-popup]
|
||||
|
||||
# Default timeout used for notifications in milli-seconds. This can
|
||||
# be overwritten with the "-t" option (or "--expire-time") of the
|
||||
# notify-send command.
|
||||
notiDefaultTimeout = 10000
|
||||
|
||||
# Margin above notifications (in pixels). This can be used to avoid
|
||||
# overlap between notifications and a bar such as polybar or i3blocks.
|
||||
distanceTop = 20
|
||||
|
||||
# Margin on the right of the notification (in pixels).
|
||||
distanceRight = 20
|
||||
|
||||
# Vertical distance between 2 notifications (in pixels).
|
||||
distanceBetween = 10
|
||||
|
||||
# Width of the notifications.
|
||||
width = 300
|
||||
|
||||
# Monitor on which the notification will be printed.
|
||||
monitor = 0
|
||||
|
||||
# If true, the notifications will open on the screen, on which the
|
||||
# mouse is
|
||||
followMouse = true
|
||||
|
||||
# The display size of the application icons in the notification
|
||||
# pop-ups and in the notification center
|
||||
iconSize = 0
|
||||
|
||||
# Text size for the title in the notification pop-ups
|
||||
titleTextSize = 14px
|
||||
|
||||
# Text size for the app name in the notification pop-ups
|
||||
appNameTextSize = 0
|
||||
|
||||
# Text size for the time in the notification pop-ups
|
||||
timeTextSize = 12px
|
||||
|
||||
# The maximal display size of images that are part of notifications
|
||||
# for notification pop-ups and in the notification center
|
||||
maxImageSize = 130
|
||||
|
||||
# The margin around the top, bottom, left, and right of notification
|
||||
# images. Applies to popup notifications and in-center notifications.
|
||||
imageMarginTop = 0
|
||||
imageMarginBottom = 0
|
||||
imageMarginLeft = 0
|
||||
imageMarginRight = 0
|
||||
|
||||
# Truncates notification bodies with '...' at the specified number of
|
||||
# lines. If -1 is specified, the body text will not be truncated.
|
||||
# Applies only to popup notifications
|
||||
shortenBody = 40
|
||||
imageAlignment = fill
|
||||
|
||||
# The mouse button for closing a popup. Must be either "mouse1",
|
||||
# "mouse2", "mouse3", "mouse4", or "mouse5"
|
||||
dismissButton = mouse1
|
||||
|
||||
# The mouse button for opening a popup with the default action.
|
||||
# Must be either "mouse1", "mouse2", "mouse3", "mouse4", or "mouse5"
|
||||
defaultActionButton = mouse3
|
||||
|
||||
[colors]
|
||||
# Note about colors: Colors can be represented in (at least, I mean,
|
||||
# who knows...) three different ways:
|
||||
# 1. #RGB with "R", "G" and "B" hexadecimal numbers (0-9, A-F or
|
||||
# a-f).
|
||||
# 2. #RRGGBB with each occurrence of "R", "G" and "B" are hexadecimal
|
||||
# numbers (0-9, A-F or a-f).
|
||||
# 3. rgba(R, G, B, A) where "R", "G" and "B" are between 0 and 255
|
||||
# and A is a floating point number between 0 and 1 representing
|
||||
# the alpha channel (transparency).
|
||||
|
||||
|
||||
# Background color for the notification center.
|
||||
background = rgba(29, 27, 20, 0.5)
|
||||
|
||||
# Background color for the notification popups.
|
||||
notiBackground = rgba(9, 0, 0, 0.6)
|
||||
|
||||
# Color for the text (summary, body and application name) in
|
||||
# notification popups.
|
||||
notiColor = #fef3f6
|
||||
|
||||
# Background color for "critical" notification popups.
|
||||
critical = rgba(255, 0, 50, 0.5)
|
||||
|
||||
# Color for the text (summary, body and application name) in
|
||||
# "critical" notification popups.
|
||||
criticalColor = #FFF
|
||||
|
||||
# Background color for "critical" notifications in notification
|
||||
# center.
|
||||
criticalInCenter = rgba(155, 0, 20, 0.5)
|
||||
|
||||
# Color for the text (summary, body and application name) in
|
||||
# "critical" notification in notification center.
|
||||
criticalInCenterColor = #FFF
|
||||
|
||||
|
||||
# Global text color
|
||||
labelColor = #eae2e0
|
||||
|
||||
### These button configurations are applied globally (except they
|
||||
### get overwritten in the [buttons] section. The buttons section
|
||||
### only applies to the configurable buttons within the notification
|
||||
### center, while these configs also apply to the buttons within
|
||||
### notifications.)
|
||||
# Color for the text in the buttons.
|
||||
buttonColor = #eae2e0
|
||||
|
||||
# Background color of button in hover state (mouse over)
|
||||
buttonHover = rgba(0, 20, 20, 0.2)
|
||||
|
||||
# Text color of button in hover state (mouse over)
|
||||
buttonHoverColor = #fee
|
||||
|
||||
# Background color of button
|
||||
buttonBackground = transparent
|
||||
|
||||
[buttons]
|
||||
### This section describes the configurable buttons within the
|
||||
### notification center and NOT the buttons that appear in the
|
||||
### notifications
|
||||
|
||||
# Note: If you want your buttons in the notification center to be
|
||||
# squares you should verify that the following equality holds:
|
||||
# [notification-center]::width
|
||||
# == [buttons]::buttonsPerRow * [buttons]::buttonHeight
|
||||
# + ([buttons]::buttonsPerRow + 1) * [buttons]::buttonMargin
|
||||
|
||||
# Numbers of buttons that can be drawn on a row of the notification
|
||||
# center.
|
||||
buttonsPerRow = 5
|
||||
|
||||
# Height of buttons in the notification center (in pixels).
|
||||
buttonHeight = 60
|
||||
|
||||
# Horizontal and vertical margin between each button in the
|
||||
# notification center (in pixels).
|
||||
buttonMargin = 2
|
||||
|
||||
# Labels written on the buttons in the notification center. Labels
|
||||
# should be written between quotes and separated by a colon. For
|
||||
# example:
|
||||
labels = "VPN":"Bluetooth":"Wifi":"Screensaver":"RedShift"
|
||||
# Each label is represented as a clickable button in the notification
|
||||
# center. The commands variable below define the commands that should
|
||||
# be launched when the user clicks on the associated button. There
|
||||
# should be the same number of entries in `commands` and in `labels`
|
||||
commands = "sudo vpnToggle":"bluetoothToggle":"wifiToggle":"screensaverToggle":"redshiftToggle -O 3000"
|
||||
|
||||
# Color of the labels of the custom buttons in the notification
|
||||
# center.
|
||||
buttonColor = #fee
|
||||
|
||||
# Color of the custom buttons' background in the notification center.
|
||||
buttonBackground = rgba(255, 255, 255, 0.15)
|
||||
|
||||
# Color of the custom buttons' background in the notification center
|
||||
# when hovered.
|
||||
buttonHover = rgba(0, 20, 20, 0.2)
|
||||
|
||||
# Color of the labels of the custom buttons in the notification center
|
||||
# when hovered.
|
||||
buttonHoverColor = #fee
|
||||
|
||||
# Text size of the custom buttons in the notification center.
|
||||
buttonTextSize = 12px;
|
||||
|
||||
# Color of the custom buttons' background in the notification center
|
||||
# when its state is set to true as described in the Section Usage
|
||||
buttonState1 = rgba(255,255,255,0.5)
|
||||
|
||||
# Color of the custom buttons' text in the notification center
|
||||
# when its state is set to true as described in the Section Usage
|
||||
buttonState1Color = #fff
|
||||
|
||||
# Color of the custom buttons' background, hovering, in the
|
||||
# notification center when its state is set to true as described in
|
||||
# the Section Usage
|
||||
buttonState1Hover = rgba(0, 20, 20, 0.4)
|
||||
|
||||
# Color of the custom buttons' text, hovering, in the
|
||||
# notification center when its state is set to true as described in
|
||||
# the Section Usage
|
||||
buttonState1HoverColor = #fee
|
||||
|
||||
# Color of the custom buttons' background, in the notification center
|
||||
# when the button is clicked and not yet set to a new value via the
|
||||
# method as described in Section Usage
|
||||
buttonState2 = rgba(255,255,255,0.3)
|
||||
|
||||
# Color of the custom buttons' text, in the notification center
|
||||
# when the button is clicked and not yet set to a new value via the
|
||||
# method as described in Section Usage
|
||||
buttonState2Color = #fff
|
||||
|
||||
# Color of the custom buttons' background,
|
||||
# hovering, in the notification center when the button is clicked and
|
||||
# not yet set to a new value via the method as described in Section
|
||||
# Usage
|
||||
buttonState2Hover = rgba(0, 20, 20, 0.3)
|
||||
|
||||
# Color of the custom buttons' text, hovering, in the notification
|
||||
# center when the button is clicked and not yet set to a new value via
|
||||
|
||||
# the method as described in Section Usage
|
||||
buttonState2HoverColor = #fee
|
||||
|
36
home/deadd/.config/deadd/vol
Executable file
36
home/deadd/.config/deadd/vol
Executable file
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "inc" ]; then
|
||||
amixer -q sset Master 5%+
|
||||
fi
|
||||
|
||||
if [ "$1" == "dec" ]; then
|
||||
amixer -q sset Master 5%-
|
||||
fi
|
||||
|
||||
if [ "$1" == "mute" ]; then
|
||||
amixer -q sset Master toggle
|
||||
fi
|
||||
|
||||
|
||||
AMIXER=$(amixer sget Master)
|
||||
VOLUME=$(echo $AMIXER | grep 'Right:' | awk -F'[][]' '{ print $2 }' | tr -d "%")
|
||||
MUTE=$(echo $AMIXER | grep -o '\[off\]' | tail -n 1)
|
||||
if [ "$VOLUME" -le 20 ]; then
|
||||
ICON=audio-volume-low
|
||||
else if [ "$VOLUME" -le 60 ]; then
|
||||
ICON=audio-volume-medium
|
||||
else
|
||||
ICON=audio-volume-high
|
||||
fi
|
||||
fi
|
||||
if [ "$MUTE" == "[off]" ]; then
|
||||
ICON=audio-volume-muted
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
NOTI_ID=$(notify-send.py "Lautstärke" "$VOLUME/100" \
|
||||
--hint string:image-path:$ICON boolean:transient:true \
|
||||
--replaces-process "volume-popup")
|
|
@ -29,7 +29,7 @@
|
|||
# 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 = "300x5-10-10"
|
||||
geometry = "350x5-20+40"
|
||||
|
||||
# Show how many messages are currently hidden (because of geometry).
|
||||
indicate_hidden = yes
|
||||
|
@ -46,22 +46,22 @@
|
|||
# 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 = 10
|
||||
notification_height = 100
|
||||
|
||||
# Draw a line of "separator_height" pixel height between two
|
||||
# notifications.
|
||||
# Set to 0 to disable.
|
||||
separator_height = 20
|
||||
separator_height = 5
|
||||
|
||||
# Padding between text and separator.
|
||||
padding = 24
|
||||
padding = 0
|
||||
|
||||
# Horizontal padding.
|
||||
horizontal_padding = 8
|
||||
horizontal_padding = 0
|
||||
|
||||
# Defines width in pixels of frame around the notification window.
|
||||
# Set to 0 to disable.
|
||||
frame_width = 5
|
||||
frame_width = 3
|
||||
|
||||
# Defines color of the frame around the notification window.
|
||||
frame_color = "#44475a"
|
||||
|
@ -130,7 +130,7 @@
|
|||
|
||||
# Alignment of message text.
|
||||
# Possible values are "left", "center" and "right".
|
||||
alignment = left
|
||||
alignment = center
|
||||
|
||||
# Show age of message if message is older than show_age_threshold
|
||||
# seconds.
|
||||
|
@ -139,11 +139,11 @@
|
|||
|
||||
# Split notifications into multiple lines if they don't fit into
|
||||
# geometry.
|
||||
word_wrap = yes
|
||||
word_wrap = no
|
||||
|
||||
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
|
||||
# Possible values are "start", "middle" and "end".
|
||||
ellipsize = middle
|
||||
ellipsize = end
|
||||
|
||||
# Ignore newlines '\n' in notifications.
|
||||
ignore_newline = no
|
||||
|
@ -163,7 +163,7 @@
|
|||
icon_position = left
|
||||
|
||||
# Scale larger icons down to this size, set to 0 to disable
|
||||
max_icon_size = 16
|
||||
max_icon_size = 120
|
||||
|
||||
# Paths to default icons.
|
||||
icon_path = /usr/share/icons/Papirus-Dark/16x16:/usr/share/icons/Papirus/16x16:/home/horhik/Pictures/icons
|
||||
|
|
|
@ -8,13 +8,15 @@ rounded-corners-exclude = [
|
|||
rounded-corners-rule = [
|
||||
"5:class_g = 'Dunst'",
|
||||
|
||||
"0:class_g = 'awesome'"
|
||||
"15:class_g = 'Go-for-it'"
|
||||
"0:class_g = 'awesome'",
|
||||
"5:class_g = 'Go-for-it'",
|
||||
"5:class_g = 'Deadd-notification-center'",
|
||||
|
||||
];
|
||||
corner-radius = 4;
|
||||
round-borders = 4;
|
||||
corner-radius = 6;
|
||||
round-borders = 6;
|
||||
round-borders-exclude = [
|
||||
"name = 'Notification area'"
|
||||
];
|
||||
|
||||
round-borders-rule = [
|
||||
|
@ -22,7 +24,8 @@ round-borders-rule = [
|
|||
"3:class_g = 'URxvt'",
|
||||
"3:class_g = 'Alacritty'",
|
||||
"5:class_g = 'Dunst'",
|
||||
"15:class_g = 'Signal'",
|
||||
"5:class_g = 'Signal'",
|
||||
"5:class_g = 'Deadd-notification-center'",
|
||||
];
|
||||
shadow = true;
|
||||
shadow-radius = 10;
|
||||
|
@ -55,7 +58,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|||
opacity-rule = [
|
||||
#"55:name *= 'cava'",
|
||||
#"55:class_g *= 'cava'",
|
||||
"85:class_g *= 'Anki'",
|
||||
#"85:class_g *= 'Anki'",
|
||||
"85:class_g *= 'Go-for-it'",
|
||||
"95:class_g *= 'notion'",
|
||||
"95:class_g = 'Emacs'",
|
||||
|
@ -90,7 +93,6 @@ blur-kern = "3x3box";
|
|||
blur-background-exclude = [
|
||||
|
||||
"window_type = 'desktop'",
|
||||
"name = 'cava'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
|
@ -325,11 +327,11 @@ wintypes:
|
|||
|
||||
shadow = true;
|
||||
|
||||
opacity = 0.6;
|
||||
opacity = 0.9;
|
||||
|
||||
focus = true;
|
||||
# corner-radius = 8;
|
||||
# round-borders = 8;
|
||||
corner-radius = 8;
|
||||
round-borders = 8;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
82
home/spotifyd/.config/spotifyd/spotifyd.conf
Normal file
82
home/spotifyd/.config/spotifyd/spotifyd.conf
Normal file
|
@ -0,0 +1,82 @@
|
|||
[global]
|
||||
# Your Spotify account name.
|
||||
username = "username"
|
||||
|
||||
# Your Spotify account password.
|
||||
password = "password"
|
||||
|
||||
# A command that gets executed and can be used to
|
||||
# retrieve your password.
|
||||
# The command should return the password on stdout.
|
||||
#
|
||||
# This is an alternative to the `password` field. Both
|
||||
# can't be used simultaneously.
|
||||
password_cmd = "command_that_writes_password_to_stdout"
|
||||
|
||||
# If set to true, `spotifyd` tries to look up your
|
||||
# password in the system's password storage.
|
||||
#
|
||||
# This is an alternative to the `password` field. Both
|
||||
# can't be used simultaneously.
|
||||
use_keyring = true
|
||||
|
||||
# The audio backend used to play the your music. To get
|
||||
# a list of possible backends, run `spotifyd --help`.
|
||||
backend = "alsa"
|
||||
|
||||
# The alsa audio device to stream audio to. To get a
|
||||
# list of valid devices, run `aplay -L`,
|
||||
device = "alsa_audio_device" # omit for macOS
|
||||
|
||||
# The alsa control device. By default this is the same
|
||||
# name as the `device` field.
|
||||
control = "alsa_audio_device" # omit for macOS
|
||||
|
||||
# The alsa mixer used by `spotifyd`.
|
||||
mixer = "PCM"
|
||||
|
||||
# The volume controller. Each one behaves different to
|
||||
# volume increases. For possible values, run
|
||||
# `spotifyd --help`.
|
||||
volume_controller = "alsa" # use softvol for macOS
|
||||
|
||||
# A command that gets executed in your shell after each song changes.
|
||||
on_song_change_hook = "command_to_run_on_playback_events"
|
||||
|
||||
# The name that gets displayed under the connect tab on
|
||||
# official clients. Spaces are not allowed!
|
||||
device_name = "device_name_in_spotify_connect"
|
||||
|
||||
# The audio bitrate. 96, 160 or 320 kbit/s
|
||||
bitrate = 160
|
||||
|
||||
# The directory used to cache audio data. This setting can save
|
||||
# a lot of bandwidth when activated, as it will avoid re-downloading
|
||||
# audio files when replaying them.
|
||||
#
|
||||
# Note: The file path does not get expanded. Environment variables and
|
||||
# shell placeholders like $HOME or ~ don't work!
|
||||
cache_path = "cache_directory"
|
||||
|
||||
# If set to true, audio data does NOT get cached.
|
||||
no_audio_cache = true
|
||||
|
||||
# Volume on startup between 0 and 100
|
||||
initial_volume = 90
|
||||
|
||||
# If set to true, enables volume normalisation between songs.
|
||||
volume_normalisation = true
|
||||
|
||||
# The normalisation pregain that is applied for each song.
|
||||
normalisation_pregain = -10
|
||||
|
||||
# The port `spotifyd` uses to announce its service over the network.
|
||||
zeroconf_port = 1234
|
||||
|
||||
# The proxy `spotifyd` will use to connect to spotify.
|
||||
proxy = "http://proxy.example.org:8080"
|
||||
|
||||
# The displayed device type in Spotify clients.
|
||||
# Can be unknown, computer, tablet, smartphone, speaker, tv,
|
||||
# avr (Audio/Video Receiver), stb (Set-Top Box), and audiodongle.
|
||||
device_type = "speaker"
|
1
home/tmux/.config/tmux/plugins/tmux-gruvbox
Submodule
1
home/tmux/.config/tmux/plugins/tmux-gruvbox
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ccab926b566560b0138c6fee86985f2dfc21454a
|
1
home/tmux/.config/tmux/plugins/tmux-sensible
Submodule
1
home/tmux/.config/tmux/plugins/tmux-sensible
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e91b178ff832b7bcbbf4d99d9f467f63fd1b76b5
|
1
home/tmux/.config/tmux/plugins/tpm
Submodule
1
home/tmux/.config/tmux/plugins/tpm
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 60a36d6f7adddfb68d68349dce3081e7d5c4d4ab
|
13
home/tmux/.config/tmux/tmux.conf
Normal file
13
home/tmux/.config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
set -g @plugin 'egel/tmux-gruvbox'
|
||||
set -g @tmux-gruvbox 'dark' # or 'light'
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
# Other examples:
|
||||
# set -g @plugin 'github_username/plugin_name'
|
||||
# set -g @plugin 'git@github.com:user/plugin'
|
||||
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
1
home/zathura/.config/zathura/zathurarc
Normal file
1
home/zathura/.config/zathura/zathurarc
Normal file
|
@ -0,0 +1 @@
|
|||
set selection-clipboard clipboard
|
|
@ -7,6 +7,9 @@ export ZSH="/home/horhik/.oh-my-zsh"
|
|||
export CC=/usr/bin/clang
|
||||
|
||||
export CXX=/usr/bin/clang++
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export ANDROID_SDK_ROOT=/home/horhik/Android/Sdk/
|
||||
export NDK_HOME=/home/horhik/Android/Sdk/ndk/22.0.7026061/
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
|
@ -112,6 +115,7 @@ alias vi=vim
|
|||
alias libvirtdaemon="sudo start-stop-daemon --start libvirtd"
|
||||
alias virtm="sudo start-stop-daemon --start virtlogd &; sudo start-stop-daemon --start libvirtd &; virt-manager &"
|
||||
alias clip=xclip -selection clipboard
|
||||
alias suspend="loginctl suspend"
|
||||
|
||||
# The next line updates PATH for Yandex Cloud CLI.
|
||||
if [ -f '/home/horhik/yandex-cloud/path.bash.inc' ]; then source '/home/horhik/yandex-cloud/path.bash.inc'; fi
|
||||
|
@ -119,3 +123,13 @@ if [ -f '/home/horhik/yandex-cloud/path.bash.inc' ]; then source '/home/horhik/y
|
|||
# The next line enables shell command completion for yc.
|
||||
if [ -f '/home/horhik/yandex-cloud/completion.zsh.inc' ]; then source '/home/horhik/yandex-cloud/completion.zsh.inc'; fi
|
||||
|
||||
alias rd='rustc -g --emit="obj,link"'
|
||||
|
||||
compile_and_run() {
|
||||
rustc -g --emit="obj,link" $1 && gdb ${1%.*}
|
||||
}
|
||||
|
||||
alias rdr=compile_and_run
|
||||
alias aia=ankiaudio
|
||||
|
||||
pfetch
|
||||
|
|
Loading…
Reference in a new issue