summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
author2025-06-09 13:43:45 +0300
committer2025-06-09 13:55:38 +0300
commit97af93b2a8ebc89364852e3f63e9fd8cfedaeedf (patch)
tree27e2added74ee6c0ff91c9e7927491c661a8bb36 /config
parent04.06.2025 (diff)
downloaddotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.tar.gz
dotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.tar.bz2
dotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.tar.xz
dotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.zip
Перевёл dotfiles на stow
Diffstat (limited to '')
-rw-r--r--config/hypr/custom/rules.conf104
-rw-r--r--config/hypr/hypridle.conf33
-rw-r--r--config/hypr/hyprland.conf264
-rw-r--r--config/hypr/hyprlock.conf74
-rwxr-xr-xconfig/hypr/hyprlock/status.sh29
-rw-r--r--config/hypr/hyprpaper.conf3
-rw-r--r--config/hypr/lock.pngbin0 -> 17008897 bytes
-rw-r--r--config/hypr/wp.jpgbin0 -> 9414283 bytes
-rw-r--r--config/kitty/kitty.conf18
-rw-r--r--config/mako/config28
-rw-r--r--config/nvim/.editorconfig (renamed from nvim/.editorconfig)0
-rw-r--r--config/nvim/.gitignore (renamed from nvim/.gitignore)0
-rw-r--r--config/nvim/Session.vim54
-rw-r--r--config/nvim/colors/neonxp.lua (renamed from nvim/colors/neonxp.lua)0
-rw-r--r--config/nvim/init.lua (renamed from nvim/init.lua)1
-rw-r--r--config/nvim/lazy-lock.json (renamed from nvim/lazy-lock.json)7
-rw-r--r--config/nvim/lua/autocommands.lua (renamed from nvim/lua/autocommands.lua)0
-rw-r--r--config/nvim/lua/commands.lua (renamed from nvim/lua/commands.lua)0
-rw-r--r--config/nvim/lua/keymaps.lua (renamed from nvim/lua/keymaps.lua)0
-rw-r--r--config/nvim/lua/lsp.lua (renamed from nvim/lua/lsp.lua)0
-rw-r--r--config/nvim/lua/myplugins/resize.lua (renamed from nvim/lua/myplugins/resize.lua)0
-rw-r--r--config/nvim/lua/options.lua (renamed from nvim/lua/options.lua)5
-rw-r--r--config/nvim/lua/plugins.lua (renamed from nvim/lua/plugins.lua)1
-rw-r--r--config/nvim/lua/plugins/autosave.lua (renamed from nvim/lua/plugins/autosave.lua)0
-rw-r--r--config/nvim/lua/plugins/blankline.lua (renamed from nvim/lua/plugins/blankline.lua)0
-rw-r--r--config/nvim/lua/plugins/cmp.lua (renamed from nvim/lua/plugins/cmp.lua)10
-rw-r--r--config/nvim/lua/plugins/columns.lua (renamed from nvim/lua/plugins/columns.lua)0
-rw-r--r--config/nvim/lua/plugins/conform.lua (renamed from nvim/lua/plugins/conform.lua)0
-rw-r--r--config/nvim/lua/plugins/dap.lua (renamed from nvim/lua/plugins/dap.lua)0
-rw-r--r--config/nvim/lua/plugins/dap_go.lua (renamed from nvim/lua/plugins/dap_go.lua)0
-rw-r--r--config/nvim/lua/plugins/dapui.lua (renamed from nvim/lua/plugins/dapui.lua)0
-rw-r--r--config/nvim/lua/plugins/go.lua (renamed from nvim/lua/plugins/go.lua)0
-rw-r--r--config/nvim/lua/plugins/goimpl.lua (renamed from nvim/lua/plugins/goimpl.lua)0
-rw-r--r--config/nvim/lua/plugins/headlines.lua (renamed from nvim/lua/plugins/headlines.lua)0
-rw-r--r--config/nvim/lua/plugins/lsp_saga.lua (renamed from nvim/lua/plugins/lsp_saga.lua)0
-rw-r--r--config/nvim/lua/plugins/lsp_signature.lua (renamed from nvim/lua/plugins/lsp_signature.lua)0
-rw-r--r--config/nvim/lua/plugins/lualine.lua (renamed from nvim/lua/plugins/lualine.lua)2
-rw-r--r--config/nvim/lua/plugins/resize.lua (renamed from nvim/lua/plugins/resize.lua)8
-rw-r--r--config/nvim/lua/plugins/telescope.lua (renamed from nvim/lua/plugins/telescope.lua)0
-rw-r--r--config/nvim/lua/plugins/todo.lua (renamed from nvim/lua/plugins/todo.lua)0
-rw-r--r--config/nvim/lua/plugins/tree.lua (renamed from nvim/lua/plugins/tree.lua)0
-rw-r--r--config/nvim/lua/plugins/treesitter.lua (renamed from nvim/lua/plugins/treesitter.lua)0
-rw-r--r--config/nvim/lua/syntax/hjson.lua (renamed from nvim/lua/syntax/hjson.lua)0
-rw-r--r--config/nvim/lua/syntax/init.lua (renamed from nvim/lua/syntax/init.lua)0
-rw-r--r--config/nvim/lua/theme/asset/hsv-to-rgb.lua (renamed from nvim/lua/theme/asset/hsv-to-rgb.lua)0
-rw-r--r--config/nvim/lua/theme/colors.lua (renamed from nvim/lua/theme/colors.lua)0
-rw-r--r--config/nvim/lua/theme/modifiers.lua (renamed from nvim/lua/theme/modifiers.lua)0
-rw-r--r--config/nvim/snippets/go.json (renamed from nvim/snippets/go.json)0
-rw-r--r--config/nvim/snippets/package.json (renamed from nvim/snippets/package.json)0
-rw-r--r--config/nvim/spell/en.utf-8.add (renamed from nvim/spell/en.utf-8.add)0
-rw-r--r--config/nvim/spell/en.utf-8.add.spl (renamed from nvim/spell/en.utf-8.add.spl)bin46 -> 46 bytes
-rw-r--r--config/nvim/spell/ru.cp1251.spl (renamed from nvim/spell/ru.cp1251.spl)bin777422 -> 777422 bytes
-rw-r--r--config/nvim/spell/ru.cp1251.sug (renamed from nvim/spell/ru.cp1251.sug)bin3541044 -> 3541044 bytes
-rw-r--r--config/nvim/spell/ru.koi8-r.spl (renamed from nvim/spell/ru.koi8-r.spl)bin777418 -> 777418 bytes
-rw-r--r--config/nvim/spell/ru.koi8-r.sug (renamed from nvim/spell/ru.koi8-r.sug)bin3540090 -> 3540090 bytes
-rw-r--r--config/nvim/spell/ru.utf-8.spl (renamed from nvim/spell/ru.utf-8.spl)bin837741 -> 837741 bytes
-rw-r--r--config/nvim/spell/ru.utf-8.sug (renamed from nvim/spell/ru.utf-8.sug)bin3568428 -> 3568428 bytes
-rw-r--r--config/waybar/config.jsonc203
-rw-r--r--config/waybar/style.css325
59 files changed, 1158 insertions, 11 deletions
diff --git a/config/hypr/custom/rules.conf b/config/hypr/custom/rules.conf
new file mode 100644
index 0000000..68a4aac
--- /dev/null
+++ b/config/hypr/custom/rules.conf
@@ -0,0 +1,104 @@
+# ######## Window rules ########
+
+# Uncomment to apply global transparency to all windows:
+windowrulev2 = opacity 0.95 override 0.95 override, class:.*
+
+# Disable blur for XWayland windows (or context menus with shadow would look weird)
+windowrulev2 = noblur, xwayland:1
+
+# Floating
+windowrulev2 = float, class:^(blueberry\.py)$
+windowrulev2 = float, class:^(steam)$
+windowrulev2 = float, class:^(guifetch)$ # FlafyDev/guifetch
+windowrulev2 = float, class:^(pavucontrol)$
+windowrulev2 = size 45%, class:^(pavucontrol)$
+windowrulev2 = center, class:^(pavucontrol)$
+windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$
+windowrulev2 = size 45%, class:^(org.pulseaudio.pavucontrol)$
+windowrulev2 = center, class:^(org.pulseaudio.pavucontrol)$
+windowrulev2 = float, class:^(nm-connection-editor)$
+windowrulev2 = size 45%, class:^(nm-connection-editor)$
+windowrulev2 = center, class:^(nm-connection-editor)$
+
+# Tiling
+windowrulev2 = tile, class:^dev\.warp\.Warp$
+
+# Picture-in-Picture
+windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
+windowrulev2 = keepaspectratio, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
+windowrulev2 = move 73% 72%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
+windowrulev2 = size 25%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
+windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
+windowrulev2 = pin, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$
+
+# Dialog windows – float+center these windows.
+windowrulev2 = center, title:^(Open File)(.*)$
+windowrulev2 = center, title:^(Select a File)(.*)$
+windowrulev2 = center, title:^(Choose wallpaper)(.*)$
+windowrulev2 = center, title:^(Open Folder)(.*)$
+windowrulev2 = center, title:^(Save As)(.*)$
+windowrulev2 = center, title:^(Library)(.*)$
+windowrulev2 = center, title:^(File Upload)(.*)$
+windowrulev2 = float, title:^(Open File)(.*)$
+windowrulev2 = float, title:^(Select a File)(.*)$
+windowrulev2 = float, title:^(Choose wallpaper)(.*)$
+windowrulev2 = float, title:^(Open Folder)(.*)$
+windowrulev2 = float, title:^(Save As)(.*)$
+windowrulev2 = float, title:^(Library)(.*)$
+windowrulev2 = float, title:^(File Upload)(.*)$
+
+
+# --- Tearing ---
+windowrulev2 = immediate, title:.*\.exe
+windowrulev2 = immediate, class:^(steam_app)
+
+# No shadow for tiled windows (matches windows that are not floating).
+windowrulev2 = noshadow, floating:0
+
+# ######## Workspace rules ########
+workspace = special:special, gapsout:30
+
+# ######## Layer rules ########
+layerrule = xray 1, .*
+# layerrule = noanim, .*
+layerrule = noanim, walker
+layerrule = noanim, selection
+layerrule = noanim, overview
+layerrule = noanim, anyrun
+layerrule = noanim, indicator.*
+layerrule = noanim, osk
+layerrule = noanim, hyprpicker
+
+layerrule = noanim, noanim
+layerrule = blur, gtk-layer-shell
+layerrule = ignorezero, gtk-layer-shell
+layerrule = blur, launcher
+layerrule = ignorealpha 0.5, launcher
+layerrule = blur, notifications
+layerrule = ignorealpha 0.69, notifications
+layerrule = blur, logout_dialog # wlogout
+
+# ags
+layerrule = animation slide left, sideleft.*
+layerrule = animation slide right, sideright.*
+layerrule = blur, session[0-9]*
+layerrule = blur, bar[0-9]*
+layerrule = ignorealpha 0.6, bar[0-9]*
+layerrule = blur, barcorner.*
+layerrule = ignorealpha 0.6, barcorner.*
+layerrule = blur, dock[0-9]*
+layerrule = ignorealpha 0.6, dock[0-9]*
+layerrule = blur, indicator.*
+layerrule = ignorealpha 0.6, indicator.*
+layerrule = blur, overview[0-9]*
+layerrule = ignorealpha 0.6, overview[0-9]*
+layerrule = blur, cheatsheet[0-9]*
+layerrule = ignorealpha 0.6, cheatsheet[0-9]*
+layerrule = blur, sideright[0-9]*
+layerrule = ignorealpha 0.6, sideright[0-9]*
+layerrule = blur, sideleft[0-9]*
+layerrule = ignorealpha 0.6, sideleft[0-9]*
+layerrule = blur, indicator.*
+layerrule = ignorealpha 0.6, indicator.*
+layerrule = blur, osk[0-9]*
+layerrule = ignorealpha 0.6, osk[0-9]*
diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf
new file mode 100644
index 0000000..8809a22
--- /dev/null
+++ b/config/hypr/hypridle.conf
@@ -0,0 +1,33 @@
+$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend
+
+# General_settings
+general {
+ before_sleep_cmd = hyprlock # command before sleep
+ ignore_dbus_inhibit = false # (used by e.g. firefox or steam)
+}
+
+# Screen_brightness
+listener {
+ timeout = 300
+ on-timeout = brightnessctl s 20%
+ on-resume = brightnessctl s 100%
+}
+
+# Screen_lock
+listener {
+ timeout = 600
+ on-timeout = hyprlock
+}
+
+# Screen_off
+listener {
+ timeout = 780
+ on-timeout = hyprctl dispatch dpms off
+ on-resume = hyprctl dispatch dpms on
+}
+
+# Suspend
+listener {
+ timeout = 1200
+ on-timeout = $suspend_cmd
+}
diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf
new file mode 100644
index 0000000..c5ae504
--- /dev/null
+++ b/config/hypr/hyprland.conf
@@ -0,0 +1,264 @@
+
+# #######################################################################################
+# AUTOGENERATED HYPR CONFIG.
+# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
+# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
+# #######################################################################################
+
+
+# This is an example Hyprland config file.
+# Refer to the wiki for more information.
+# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
+
+# Please note not all available settings / options are set here.
+# For a full list, see the wiki
+
+# You can split this configuration into multiple files
+# Create your files separately and then link them to this file like this:
+# source = ~/.config/hypr/myColors.conf
+
+
+################
+### MONITORS ###
+################
+
+# See https://wiki.hyprland.org/Configuring/Monitors/
+monitor=,preferred,auto,auto
+monitor=DP-7,1920x1080,auto,auto
+
+###################
+### MY PROGRAMS ###
+###################
+
+# See https://wiki.hyprland.org/Configuring/Keywords/
+
+# Set programs that you use
+$terminal = kitty
+$fileManager = dolphin
+$menu = wofi --show drun
+
+
+#################
+### AUTOSTART ###
+#################
+
+# Autostart necessary processes (like notifications daemons, status bars, etc.)
+# Or execute your favorite apps at launch like this:
+
+exec-once = $terminal
+exec-once = nm-applet &
+exec-once = waybar & hyprpaper & firefox
+
+
+#############################
+### ENVIRONMENT VARIABLES ###
+#############################
+
+# See https://wiki.hyprland.org/Configuring/Environment-variables/
+
+env = XCURSOR_SIZE,24
+env = HYPRCURSOR_SIZE,24
+
+
+#####################
+### LOOK AND FEEL ###
+#####################
+
+# Refer to https://wiki.hyprland.org/Configuring/Variables/
+
+# https://wiki.hyprland.org/Configuring/Variables/#general
+general {
+ gaps_in = 4
+ gaps_out = 8
+
+ border_size = 2
+
+ # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
+ col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
+ col.inactive_border = rgba(595959aa)
+
+ # Set to true enable resizing windows by clicking and dragging on borders and gaps
+ resize_on_border = false
+
+ # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
+ allow_tearing = false
+
+ layout = dwindle
+}
+
+# https://wiki.hyprland.org/Configuring/Variables/#decoration
+decoration {
+ rounding = 10
+
+ # Change transparency of focused and unfocused windows
+ active_opacity = 1.0
+ inactive_opacity = 1.0
+
+ drop_shadow = true
+ shadow_range = 4
+ shadow_render_power = 3
+ col.shadow = rgba(1a1a1aee)
+
+ # https://wiki.hyprland.org/Configuring/Variables/#blur
+ blur {
+ enabled = true
+ size = 3
+ passes = 1
+
+ vibrancy = 0.1696
+ }
+}
+
+# https://wiki.hyprland.org/Configuring/Variables/#animations
+animations {
+ enabled = true
+
+ # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
+
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+
+ animation = windows, 1, 7, myBezier
+ animation = windowsOut, 1, 7, default, popin 80%
+ animation = border, 1, 10, default
+ animation = borderangle, 1, 8, default
+ animation = fade, 1, 7, default
+ animation = workspaces, 1, 6, default
+}
+
+# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
+dwindle {
+ pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
+ preserve_split = true # You probably want this
+}
+
+# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
+master {
+ new_status = master
+}
+
+# https://wiki.hyprland.org/Configuring/Variables/#misc
+misc {
+ force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
+ disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
+}
+
+
+#############
+### INPUT ###
+#############
+
+# https://wiki.hyprland.org/Configuring/Variables/#input
+input {
+ kb_layout = us,ru
+ kb_variant =
+ kb_model =
+ kb_options = grp:caps_toggle,misc:typo,lv3:ralt_switch
+ kb_rules =
+
+ follow_mouse = 1
+
+ sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+
+ touchpad {
+ natural_scroll = true
+ }
+}
+
+# https://wiki.hyprland.org/Configuring/Variables/#gestures
+gestures {
+ workspace_swipe = true
+}
+
+# Example per-device config
+# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
+device {
+ name = epic-mouse-v1
+ sensitivity = -0.5
+}
+
+
+
+####################
+### KEYBINDINGSS ###
+####################
+
+# See https://wiki.hyprland.org/Configuring/Keywords/
+$mainMod = SUPER # Sets "Windows" key as main modifier
+$shiftMod = SUPER_SHIFT
+# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
+bind = $mainMod, Q, exec, $terminal
+bind = $mainMod, C, killactive,
+bind = $mainMod, M, exit,
+bind = $mainMod, E, exec, $fileManager
+bind = $mainMod, L, exec, hyprlock
+bind = $mainMod, V, togglefloating,
+bind = $mainMod, R, exec, $menu
+bind = $mainMod, P, pseudo, # dwindle
+bind = $mainMod, J, togglesplit, # dwindle
+
+# Move focus with mainMod + arrow keys
+bind = $mainMod, left, movefocus, l
+bind = $mainMod, right, movefocus, r
+bind = $mainMod, up, movefocus, u
+bind = $mainMod, down, movefocus, d
+
+# Switch workspaces with mainMod + [0-9]
+bind = $mainMod, 1, workspace, 1
+bind = $mainMod, 2, workspace, 2
+bind = $mainMod, 3, workspace, 3
+bind = $mainMod, 4, workspace, 4
+bind = $mainMod, 5, workspace, 5
+bind = $mainMod, 6, workspace, 6
+bind = $mainMod, 7, workspace, 7
+bind = $mainMod, 8, workspace, 8
+bind = $mainMod, 9, workspace, 9
+bind = $mainMod, 0, workspace, 10
+
+# Move active window to a workspace with mainMod + SHIFT + [0-9]
+bind = $mainMod SHIFT, 1, movetoworkspace, 1
+bind = $mainMod SHIFT, 2, movetoworkspace, 2
+bind = $mainMod SHIFT, 3, movetoworkspace, 3
+bind = $mainMod SHIFT, 4, movetoworkspace, 4
+bind = $mainMod SHIFT, 5, movetoworkspace, 5
+bind = $mainMod SHIFT, 6, movetoworkspace, 6
+bind = $mainMod SHIFT, 7, movetoworkspace, 7
+bind = $mainMod SHIFT, 8, movetoworkspace, 8
+bind = $mainMod SHIFT, 9, movetoworkspace, 9
+bind = $mainMod SHIFT, 0, movetoworkspace, 10
+
+# Example special workspace (scratchpad)
+bind = $mainMod, S, togglespecialworkspace, magic
+bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+
+# Scroll through existing workspaces with mainMod + scroll
+bind = $mainMod, mouse_down, workspace, e+1
+bind = $mainMod, mouse_up, workspace, e-1
+
+# Move/resize windows with mainMod + LMB/RMB and dragging
+bindm = $mainMod, mouse:272, movewindow
+bindm = $mainMod, mouse:273, resizewindow
+
+
+# Screenshot a window
+bind = $mainMod, PRINT, exec, hyprshot -m window
+# Screenshot a monitor
+bind = , PRINT, exec, hyprshot -m output
+# Screenshot a region
+bind = $shiftMod, PRINT, exec, hyprshot -m region
+
+##############################
+### WINDOWS AND WORKSPACES ###
+##############################
+
+source = ~/.config/hypr/custom/rules.conf
+
+# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
+# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
+
+# Example windowrule v1
+# windowrule = float, ^(kitty)$
+
+# Example windowrule v2
+# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
+windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
+
diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf
new file mode 100644
index 0000000..94920bf
--- /dev/null
+++ b/config/hypr/hyprlock.conf
@@ -0,0 +1,74 @@
+background {
+ monitor =
+ path = $HOME/.config/hypr/lock.png # only *.png supported for now
+ color = rgba(25, 20, 20, 1.0)
+ blur_passes = 4 # 0 disables blurring
+ blur_size = 2
+ noise = 0.0117
+ contrast = 0.8916
+ brightness = 0.8172
+ vibrancy = 0.1696
+ vibrancy_darkness = 0.0
+}
+
+input-field {
+ monitor =
+ size = 400, 50
+ outline_thickness = 1
+ dots_size = 0.4 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ outer_color = rgb(000000)
+ inner_color = rgb(200, 200, 200)
+ font_color = rgb(10, 10, 10)
+ fade_on_empty = true
+ placeholder_text = <i>Пароль</i> # Text rendered in the input box when it's empty.
+ hide_input = false
+ position = 0, -50
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%H:%M")</span>"
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 60
+ font_family = Noto Sans
+ position = 0, 150
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%A, %d %B %Y")</span>"
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 18
+ font_family = Noto Sans
+ position = 0, 100
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = cmd[update:5000] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/status.sh
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 18
+ font_family = Noto Sans
+ position = 0, 50
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = <span foreground='##ffffff'>$USER</span>
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 60
+ font_family = Noto Sans
+ position = 0, 320
+ halign = center
+ valign = center
+}
diff --git a/config/hypr/hyprlock/status.sh b/config/hypr/hyprlock/status.sh
new file mode 100755
index 0000000..ea2607e
--- /dev/null
+++ b/config/hypr/hyprlock/status.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+############ Variables ############
+enable_battery=false
+battery_charging=false
+
+####### Check availability ########
+for battery in /sys/class/power_supply/*BAT*; do
+ if [[ -f "$battery/uevent" ]]; then
+ enable_battery=true
+ if [[ $(cat /sys/class/power_supply/*/status | head -1) == "Charging" ]]; then
+ battery_charging=true
+ fi
+ break
+ fi
+done
+
+############# Output #############
+if [[ $enable_battery == true ]]; then
+ if [[ $battery_charging == true ]]; then
+ echo -n " заряжается"
+ fi
+ echo -n "$(cat /sys/class/power_supply/*/capacity | head -1)"%
+ if [[ $battery_charging == false ]]; then
+ echo -n " осталось"
+ fi
+fi
+
+echo ''
diff --git a/config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf
new file mode 100644
index 0000000..4d21b18
--- /dev/null
+++ b/config/hypr/hyprpaper.conf
@@ -0,0 +1,3 @@
+preload = ~/.config/hypr/wp.jpg
+wallpaper = , ~/.config/hypr/wp.jpg
+splash = true
diff --git a/config/hypr/lock.png b/config/hypr/lock.png
new file mode 100644
index 0000000..5a85e8e
--- /dev/null
+++ b/config/hypr/lock.png
Binary files differ
diff --git a/config/hypr/wp.jpg b/config/hypr/wp.jpg
new file mode 100644
index 0000000..2047b40
--- /dev/null
+++ b/config/hypr/wp.jpg
Binary files differ
diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf
new file mode 100644
index 0000000..4ef1dc9
--- /dev/null
+++ b/config/kitty/kitty.conf
@@ -0,0 +1,18 @@
+font_size 10.0
+background_opacity 1
+background #0e0e20
+cursor_shape beam
+window_margin_width 4
+confirm_os_window_close 0
+
+# Zoom
+map ctrl+plus change_font_size all +1
+map ctrl+equal change_font_size all +1
+map ctrl+kp_add change_font_size all +1
+
+map ctrl+minus change_font_size all -1
+map ctrl+underscore change_font_size all -1
+map ctrl+kp_subtract change_font_size all -1
+
+map ctrl+0 change_font_size all 0
+map ctrl+kp_0 change_font_size all 0
diff --git a/config/mako/config b/config/mako/config
new file mode 100644
index 0000000..022c8ef
--- /dev/null
+++ b/config/mako/config
@@ -0,0 +1,28 @@
+sort=-time
+layer=overlay
+background-color=#2e3440
+width=300
+height=110
+border-size=2
+border-color=#33ccff
+border-radius=10
+icons=0
+max-icon-size=64
+default-timeout=5000
+ignore-timeout=1
+font=monospace 10
+
+[urgency=low]
+border-color=#595959
+
+[urgency=normal]
+border-color=#33ccff
+
+[urgency=high]
+border-color=#00ff99
+default-timeout=0
+
+[category=mpd]
+default-timeout=2000
+group-by=category
+
diff --git a/nvim/.editorconfig b/config/nvim/.editorconfig
index 2e6feec..2e6feec 100644
--- a/nvim/.editorconfig
+++ b/config/nvim/.editorconfig
diff --git a/nvim/.gitignore b/config/nvim/.gitignore
index 67dcbc2..67dcbc2 100644
--- a/nvim/.gitignore
+++ b/config/nvim/.gitignore
diff --git a/config/nvim/Session.vim b/config/nvim/Session.vim
new file mode 100644
index 0000000..510124f
--- /dev/null
+++ b/config/nvim/Session.vim
@@ -0,0 +1,54 @@
+let SessionLoad = 1
+let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
+let v:this_session=expand("<sfile>:p")
+silent only
+silent tabonly
+cd ~/projects/dotfiles/nvim
+if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
+ let s:wipebuf = bufnr('%')
+endif
+let s:shortmess_save = &shortmess
+if &shortmess =~ 'A'
+ set shortmess=aoOA
+else
+ set shortmess=aoO
+endif
+badd +6 init.lua
+badd +25 lua/plugins/theme.lua
+badd +1 lua/plugins/tree.lua
+argglobal
+%argdel
+edit lua/plugins/tree.lua
+argglobal
+balt lua/plugins/theme.lua
+setlocal fdm=expr
+setlocal fde=nvim_treesitter#foldexpr()
+setlocal fmr={{{,}}}
+setlocal fdi=#
+setlocal fdl=6
+setlocal fml=1
+setlocal fdn=20
+setlocal fen
+let s:l = 1 - ((0 * winheight(0) + 22) / 44)
+if s:l < 1 | let s:l = 1 | endif
+keepjumps exe s:l
+normal! zt
+keepjumps 1
+normal! 0
+tabnext 1
+if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
+ silent exe 'bwipe ' . s:wipebuf
+endif
+unlet! s:wipebuf
+set winheight=1 winwidth=20
+let &shortmess = s:shortmess_save
+let s:sx = expand("<sfile>:p:r")."x.vim"
+if filereadable(s:sx)
+ exe "source " . fnameescape(s:sx)
+endif
+let &g:so = s:so_save | let &g:siso = s:siso_save
+set hlsearch
+nohlsearch
+doautoall SessionLoadPost
+unlet SessionLoad
+" vim: set ft=vim :
diff --git a/nvim/colors/neonxp.lua b/config/nvim/colors/neonxp.lua
index 1d7ab9f..1d7ab9f 100644
--- a/nvim/colors/neonxp.lua
+++ b/config/nvim/colors/neonxp.lua
diff --git a/nvim/init.lua b/config/nvim/init.lua
index e495d97..f6fd4ab 100644
--- a/nvim/init.lua
+++ b/config/nvim/init.lua
@@ -35,3 +35,4 @@ require("autocommands")
require("lsp")
require("syntax")
-- require("dap")
+vim.cmd [[colorscheme nightfly]]
diff --git a/nvim/lazy-lock.json b/config/nvim/lazy-lock.json
index d0ab947..6b58a8b 100644
--- a/nvim/lazy-lock.json
+++ b/config/nvim/lazy-lock.json
@@ -3,7 +3,7 @@
"auto-save.nvim": { "branch": "main", "commit": "37c82fd548e3f5ffc2d9d020a65dac1044584f44" },
"blink.cmp": { "branch": "main", "commit": "022521a8910a5543b0251b21c9e1a1e989745796" },
"codecompanion.nvim": { "branch": "main", "commit": "9edf22cb71711cd7fab7671a25ed5424011a379d" },
- "conform.nvim": { "branch": "master", "commit": "f643d1b51d1d3d14c8641a46ce44f6bce73c2697" },
+ "conform.nvim": { "branch": "master", "commit": "0e93e0d12d2f7ebdea9e3e444dfaff0050cefbe6" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"go.nvim": { "branch": "master", "commit": "a3455f48cff718a86275115523dcc735535a13aa" },
"goerr-nvim": { "branch": "main", "commit": "d30ba1cab652e78dbf6a644eb4823be57e9af203" },
@@ -15,10 +15,11 @@
"lsp_signature.nvim": { "branch": "master", "commit": "a4e3c15dfdce8783c074539b1835edae75fa63d5" },
"lspsaga.nvim": { "branch": "main", "commit": "920b1253e1a26732e53fac78412f6da7f674671d" },
"lualine.nvim": { "branch": "master", "commit": "0c6cca9f2c63dadeb9225c45bc92bb95a151d4af" },
- "nvim-dap": { "branch": "master", "commit": "b0f983507e3702f073bfe1516846e58b56d4e42f" },
+ "nightfly": { "branch": "master", "commit": "8c55003e89f321a48a8cd4bb426dd3e7c58f0646" },
+ "nvim-dap": { "branch": "master", "commit": "ea82027c3447dc1a022be9a9884de276c05cd33a" },
"nvim-dap-go": { "branch": "main", "commit": "8763ced35b19c8dc526e04a70ab07c34e11ad064" },
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
- "nvim-lspconfig": { "branch": "master", "commit": "8adb3b5938f6074a1bcc36d3c3916f497d2e8ec4" },
+ "nvim-lspconfig": { "branch": "master", "commit": "036885e8e5456d3907626b634693234f628afef6" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-tree.lua": { "branch": "master", "commit": "1c733e8c1957dc67f47580fe9c458a13b5612d5b" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
diff --git a/nvim/lua/autocommands.lua b/config/nvim/lua/autocommands.lua
index 802d9e9..802d9e9 100644
--- a/nvim/lua/autocommands.lua
+++ b/config/nvim/lua/autocommands.lua
diff --git a/nvim/lua/commands.lua b/config/nvim/lua/commands.lua
index 8a987b0..8a987b0 100644
--- a/nvim/lua/commands.lua
+++ b/config/nvim/lua/commands.lua
diff --git a/nvim/lua/keymaps.lua b/config/nvim/lua/keymaps.lua
index 76919a8..76919a8 100644
--- a/nvim/lua/keymaps.lua
+++ b/config/nvim/lua/keymaps.lua
diff --git a/nvim/lua/lsp.lua b/config/nvim/lua/lsp.lua
index f12ecae..f12ecae 100644
--- a/nvim/lua/lsp.lua
+++ b/config/nvim/lua/lsp.lua
diff --git a/nvim/lua/myplugins/resize.lua b/config/nvim/lua/myplugins/resize.lua
index 8af6c3b..8af6c3b 100644
--- a/nvim/lua/myplugins/resize.lua
+++ b/config/nvim/lua/myplugins/resize.lua
diff --git a/nvim/lua/options.lua b/config/nvim/lua/options.lua
index a0b7dbb..8d55306 100644
--- a/nvim/lua/options.lua
+++ b/config/nvim/lua/options.lua
@@ -62,4 +62,7 @@ vim.filetype.add({
[".*/todo.txt"] = "todotxt",
},
})
-vim.cmd([[colorscheme neonxp]])
+
+vim.g.nightflyCursorColor = true
+vim.g.nightflyVirtualTextColor = true
+vim.g.nightflyTransparent = true
diff --git a/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index 4ef30d4..0e9701d 100644
--- a/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -1,4 +1,5 @@
require("lazy").setup({
+ { "bluz71/vim-nightfly-colors", name = "nightfly", lazy = false, priority = 1000 },
{ "nvim-lua/plenary.nvim" },
{
"ray-x/guihua.lua",
diff --git a/nvim/lua/plugins/autosave.lua b/config/nvim/lua/plugins/autosave.lua
index 069afbf..069afbf 100644
--- a/nvim/lua/plugins/autosave.lua
+++ b/config/nvim/lua/plugins/autosave.lua
diff --git a/nvim/lua/plugins/blankline.lua b/config/nvim/lua/plugins/blankline.lua
index b74d9e6..b74d9e6 100644
--- a/nvim/lua/plugins/blankline.lua
+++ b/config/nvim/lua/plugins/blankline.lua
diff --git a/nvim/lua/plugins/cmp.lua b/config/nvim/lua/plugins/cmp.lua
index 43d911a..718d8cb 100644
--- a/nvim/lua/plugins/cmp.lua
+++ b/config/nvim/lua/plugins/cmp.lua
@@ -37,8 +37,14 @@ return {
},
},
cmdline = {
- keymap = { preset = "inherit" },
- completion = { menu = { auto_show = true } },
+ keymap = {
+ preset = "inherit",
+ ['<Tab>'] = { 'show', 'accept' },
+ },
+ completion = {
+ menu = { auto_show = false },
+ ghost_text = { enabled = true },
+ },
sources = { "cmdline" },
},
snippets = { preset = "luasnip" },
diff --git a/nvim/lua/plugins/columns.lua b/config/nvim/lua/plugins/columns.lua
index 40806e2..40806e2 100644
--- a/nvim/lua/plugins/columns.lua
+++ b/config/nvim/lua/plugins/columns.lua
diff --git a/nvim/lua/plugins/conform.lua b/config/nvim/lua/plugins/conform.lua
index 3204d2d..3204d2d 100644
--- a/nvim/lua/plugins/conform.lua
+++ b/config/nvim/lua/plugins/conform.lua
diff --git a/nvim/lua/plugins/dap.lua b/config/nvim/lua/plugins/dap.lua
index ab44a1e..ab44a1e 100644
--- a/nvim/lua/plugins/dap.lua
+++ b/config/nvim/lua/plugins/dap.lua
diff --git a/nvim/lua/plugins/dap_go.lua b/config/nvim/lua/plugins/dap_go.lua
index 705fab7..705fab7 100644
--- a/nvim/lua/plugins/dap_go.lua
+++ b/config/nvim/lua/plugins/dap_go.lua
diff --git a/nvim/lua/plugins/dapui.lua b/config/nvim/lua/plugins/dapui.lua
index 5d35e1e..5d35e1e 100644
--- a/nvim/lua/plugins/dapui.lua
+++ b/config/nvim/lua/plugins/dapui.lua
diff --git a/nvim/lua/plugins/go.lua b/config/nvim/lua/plugins/go.lua
index 1078297..1078297 100644
--- a/nvim/lua/plugins/go.lua
+++ b/config/nvim/lua/plugins/go.lua
diff --git a/nvim/lua/plugins/goimpl.lua b/config/nvim/lua/plugins/goimpl.lua
index 0b906fa..0b906fa 100644
--- a/nvim/lua/plugins/goimpl.lua
+++ b/config/nvim/lua/plugins/goimpl.lua
diff --git a/nvim/lua/plugins/headlines.lua b/config/nvim/lua/plugins/headlines.lua
index 5d92245..5d92245 100644
--- a/nvim/lua/plugins/headlines.lua
+++ b/config/nvim/lua/plugins/headlines.lua
diff --git a/nvim/lua/plugins/lsp_saga.lua b/config/nvim/lua/plugins/lsp_saga.lua
index ab8177f..ab8177f 100644
--- a/nvim/lua/plugins/lsp_saga.lua
+++ b/config/nvim/lua/plugins/lsp_saga.lua
diff --git a/nvim/lua/plugins/lsp_signature.lua b/config/nvim/lua/plugins/lsp_signature.lua
index b9add0b..b9add0b 100644
--- a/nvim/lua/plugins/lsp_signature.lua
+++ b/config/nvim/lua/plugins/lsp_signature.lua
diff --git a/nvim/lua/plugins/lualine.lua b/config/nvim/lua/plugins/lualine.lua
index c35b162..920e729 100644
--- a/nvim/lua/plugins/lualine.lua
+++ b/config/nvim/lua/plugins/lualine.lua
@@ -4,7 +4,7 @@ return {
opts = {
options = {
icons_enabled = true,
- theme = "auto",
+ theme = "nightfly",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
diff --git a/nvim/lua/plugins/resize.lua b/config/nvim/lua/plugins/resize.lua
index f0c6175..7e22517 100644
--- a/nvim/lua/plugins/resize.lua
+++ b/config/nvim/lua/plugins/resize.lua
@@ -3,28 +3,28 @@ return {
dir = "~/.config/nvim/lua/myplugins",
keys = {
{
- "<C-S-Left>",
+ "<C-A-Left>",
function()
require("myplugins.resize").ResizeLeft()
end,
silent = true,
},
{
- "<C-S-Right>",
+ "<C-A-Right>",
function()
require("myplugins.resize").ResizeRight()
end,
silent = true,
},
{
- "<C-S-Up>",
+ "<C-A-Up>",
function()
require("myplugins.resize").ResizeUp()
end,
silent = true,
},
{
- "<C-S-Down>",
+ "<C-A-Down>",
function()
require("myplugins.resize").ResizeDown()
end,
diff --git a/nvim/lua/plugins/telescope.lua b/config/nvim/lua/plugins/telescope.lua
index aabcd9c..aabcd9c 100644
--- a/nvim/lua/plugins/telescope.lua
+++ b/config/nvim/lua/plugins/telescope.lua
diff --git a/nvim/lua/plugins/todo.lua b/config/nvim/lua/plugins/todo.lua
index ee672ab..ee672ab 100644
--- a/nvim/lua/plugins/todo.lua
+++ b/config/nvim/lua/plugins/todo.lua
diff --git a/nvim/lua/plugins/tree.lua b/config/nvim/lua/plugins/tree.lua
index 3bf9eed..3bf9eed 100644
--- a/nvim/lua/plugins/tree.lua
+++ b/config/nvim/lua/plugins/tree.lua
diff --git a/nvim/lua/plugins/treesitter.lua b/config/nvim/lua/plugins/treesitter.lua
index 59e9294..59e9294 100644
--- a/nvim/lua/plugins/treesitter.lua
+++ b/config/nvim/lua/plugins/treesitter.lua
diff --git a/nvim/lua/syntax/hjson.lua b/config/nvim/lua/syntax/hjson.lua
index a2e01ed..a2e01ed 100644
--- a/nvim/lua/syntax/hjson.lua
+++ b/config/nvim/lua/syntax/hjson.lua
diff --git a/nvim/lua/syntax/init.lua b/config/nvim/lua/syntax/init.lua
index d9f4dcb..d9f4dcb 100644
--- a/nvim/lua/syntax/init.lua
+++ b/config/nvim/lua/syntax/init.lua
diff --git a/nvim/lua/theme/asset/hsv-to-rgb.lua b/config/nvim/lua/theme/asset/hsv-to-rgb.lua
index 5a63f98..5a63f98 100644
--- a/nvim/lua/theme/asset/hsv-to-rgb.lua
+++ b/config/nvim/lua/theme/asset/hsv-to-rgb.lua
diff --git a/nvim/lua/theme/colors.lua b/config/nvim/lua/theme/colors.lua
index 6197328..6197328 100644
--- a/nvim/lua/theme/colors.lua
+++ b/config/nvim/lua/theme/colors.lua
diff --git a/nvim/lua/theme/modifiers.lua b/config/nvim/lua/theme/modifiers.lua
index 5f5b853..5f5b853 100644
--- a/nvim/lua/theme/modifiers.lua
+++ b/config/nvim/lua/theme/modifiers.lua
diff --git a/nvim/snippets/go.json b/config/nvim/snippets/go.json
index 353f79a..353f79a 100644
--- a/nvim/snippets/go.json
+++ b/config/nvim/snippets/go.json
diff --git a/nvim/snippets/package.json b/config/nvim/snippets/package.json
index 7c7e94a..7c7e94a 100644
--- a/nvim/snippets/package.json
+++ b/config/nvim/snippets/package.json
diff --git a/nvim/spell/en.utf-8.add b/config/nvim/spell/en.utf-8.add
index 98afcae..98afcae 100644
--- a/nvim/spell/en.utf-8.add
+++ b/config/nvim/spell/en.utf-8.add
diff --git a/nvim/spell/en.utf-8.add.spl b/config/nvim/spell/en.utf-8.add.spl
index 1fe94cc..1fe94cc 100644
--- a/nvim/spell/en.utf-8.add.spl
+++ b/config/nvim/spell/en.utf-8.add.spl
Binary files differ
diff --git a/nvim/spell/ru.cp1251.spl b/config/nvim/spell/ru.cp1251.spl
index 5720ab0..5720ab0 100644
--- a/nvim/spell/ru.cp1251.spl
+++ b/config/nvim/spell/ru.cp1251.spl
Binary files differ
diff --git a/nvim/spell/ru.cp1251.sug b/config/nvim/spell/ru.cp1251.sug
index 60f8823..60f8823 100644
--- a/nvim/spell/ru.cp1251.sug
+++ b/config/nvim/spell/ru.cp1251.sug
Binary files differ
diff --git a/nvim/spell/ru.koi8-r.spl b/config/nvim/spell/ru.koi8-r.spl
index e503020..e503020 100644
--- a/nvim/spell/ru.koi8-r.spl
+++ b/config/nvim/spell/ru.koi8-r.spl
Binary files differ
diff --git a/nvim/spell/ru.koi8-r.sug b/config/nvim/spell/ru.koi8-r.sug
index bdb7abe..bdb7abe 100644
--- a/nvim/spell/ru.koi8-r.sug
+++ b/config/nvim/spell/ru.koi8-r.sug
Binary files differ
diff --git a/nvim/spell/ru.utf-8.spl b/config/nvim/spell/ru.utf-8.spl
index 96e7592..96e7592 100644
--- a/nvim/spell/ru.utf-8.spl
+++ b/config/nvim/spell/ru.utf-8.spl
Binary files differ
diff --git a/nvim/spell/ru.utf-8.sug b/config/nvim/spell/ru.utf-8.sug
index ba5a361..ba5a361 100644
--- a/nvim/spell/ru.utf-8.sug
+++ b/config/nvim/spell/ru.utf-8.sug
Binary files differ
diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc
new file mode 100644
index 0000000..66e648d
--- /dev/null
+++ b/config/waybar/config.jsonc
@@ -0,0 +1,203 @@
+// -*- mode: jsonc -*-
+{
+ // "layer": "top", // Waybar at top layer
+ // "position": "bottom", // Waybar position (top|bottom|left|right)
+ "height": 20, // Waybar height (to be removed for auto height)
+ // "width": 1280, // Waybar width
+ "spacing": 0, // Gaps between modules (4px)
+ // Choose the order of the modules
+ "modules-left": [
+ "hyprland/workspaces",
+ "custom/media"
+ ],
+ "modules-center": [
+ "hyprland/window"
+ ],
+ "modules-right": [
+ "mpd",
+ "idle_inhibitor",
+ "pulseaudio",
+ "network",
+ "power-profiles-daemon",
+ "cpu",
+ "memory",
+ // "temperature",
+ // "backlight",
+ "keyboard-state",
+ "hyprland/language",
+ "battery",
+ "battery#bat2",
+ "clock",
+ "tray"
+ ],
+ // Modules configuration
+ // "sway/workspaces": {
+ // "disable-scroll": true,
+ // "all-outputs": true,
+ // "warp-on-scroll": false,
+ // "format": "{name}: {icon}",
+ // "format-icons": {
+ // "1": "",
+ // "2": "",
+ // "3": "",
+ // "4": "",
+ // "5": "",
+ // "urgent": "",
+ // "focused": "",
+ // "default": ""
+ // }
+ // },
+ "keyboard-state": {
+ "numlock": true,
+ "capslock": true,
+ "format": "{name} {icon}",
+ "format-icons": {
+ "locked": "",
+ "unlocked": ""
+ }
+ },
+ "hyprland/workspaces": {
+ "format": "{name}",
+ "on-click": "activate",
+ "on-scroll-up": "hyprctl dispatch workspace e+1",
+ "on-scroll-down": "hyprctl dispatch workspace e-1"
+ },
+ "hyprland/window": {
+ "separate-outputs": true
+ },
+ "hyprland/language": {
+ "format": "{short}"
+ },
+ "mpd": {
+ "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
+ "format-disconnected": "Disconnected ",
+ "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
+ "unknown-tag": "N/A",
+ "interval": 5,
+ "consume-icons": {
+ "on": " "
+ },
+ "random-icons": {
+ "off": "<span color=\"#f53c3c\"> </span> ",
+ "on": " "
+ },
+ "repeat-icons": {
+ "on": " "
+ },
+ "single-icons": {
+ "on": " 1 "
+ },
+ "state-icons": {
+ "paused": "",
+ "playing": ""
+ },
+ "tooltip-format": "MPD (connected)",
+ "tooltip-format-disconnected": "MPD (disconnected)",
+ "on-click": "mpc toggle"
+ },
+ "idle_inhibitor": {
+ "format": "{icon}",
+ "format-icons": {
+ "activated": "",
+ "deactivated": ""
+ }
+ },
+ "tray": {
+ // "icon-size": 21,
+ "spacing": 10
+ },
+ "clock": {
+ // "timezone": "America/New_York",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format-alt": "{:%Y-%m-%d}"
+ },
+ "cpu": {
+ "format": "{usage}%",
+ "tooltip": false
+ },
+ "memory": {
+ "format": " / {}%"
+ },
+ "temperature": {
+ // "thermal-zone": 2,
+ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "critical-threshold": 80,
+ // "format-critical": "{temperatureC}°C {icon}",
+ "format": "{temperatureC}°C {icon}",
+ "format-icons": ["", "", ""]
+ },
+ "backlight": {
+ // "device": "acpi_video1",
+ "format": "{percent}% {icon}",
+ "format-icons": ["", "", "", "", "", "", "", "", ""]
+ },
+ "battery": {
+ "states": {
+ // "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-full": "{capacity}% {icon}",
+ "format-charging": "{capacity}% ",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{time} {icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "battery#bat2": {
+ "bat": "BAT2"
+ },
+ "power-profiles-daemon": {
+ "format": "{icon}",
+ "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
+ "tooltip": true,
+ "format-icons": {
+ "default": "",
+ "performance": "",
+ "balanced": "",
+ "power-saver": ""
+ }
+ },
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "format-wifi": "{essid} ({signalStrength}%) ",
+ "format-ethernet": "{ipaddr}/{cidr} ",
+ "tooltip-format": "{ifname} via {gwaddr} ",
+ "format-linked": "{ifname} (No IP) ",
+ "format-disconnected": "Disconnected ⚠",
+ "format-alt": "{ifname}: {ipaddr}/{cidr}"
+ },
+ "pulseaudio": {
+ // "scroll-step": 1, // %, can be a float
+ "format": "{volume}% {icon} {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"
+ },
+ "custom/media": {
+ "format": "{icon} {}",
+ "return-type": "json",
+ "max-length": 40,
+ "format-icons": {
+ "spotify": "",
+ "default": "🎜"
+ },
+ "escape": true,
+ "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
+ // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
+ }
+}
diff --git a/config/waybar/style.css b/config/waybar/style.css
new file mode 100644
index 0000000..b13d2dc
--- /dev/null
+++ b/config/waybar/style.css
@@ -0,0 +1,325 @@
+* {
+ /* `otf-font-awesome` is required to be installed for icons */
+ font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
+ font-size: 13px;
+}
+
+window#waybar {
+ background-color: rgba(43, 48, 59, 0.5);
+ border-bottom: 2px solid rgba(51, 204, 256, 238);
+ color: #ffffff;
+ transition-property: background-color;
+ transition-duration: .5s;
+}
+
+window#waybar.hidden {
+ opacity: 0.2;
+}
+
+/*
+window#waybar.empty {
+ background-color: transparent;
+}
+window#waybar.solo {
+ background-color: #FFFFFF;
+}
+*/
+
+window#waybar.termite {
+ background-color: #3F3F3F;
+}
+
+window#waybar.chromium {
+ background-color: #000000;
+ border: none;
+}
+
+button {
+ /* Use box-shadow instead of border so the text isn't offset */
+ box-shadow: inset 0 -3px transparent;
+ /* Avoid rounded borders under each button name */
+ border: none;
+ border-radius: 0;
+}
+
+/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
+button:hover {
+ background: inherit;
+ box-shadow: inset 0 -3px #ffffff;
+}
+
+/* you can set a style on hover for any module like this */
+#pulseaudio:hover {
+ background-color: #a37800;
+}
+
+#workspaces button {
+ padding: 0 5px;
+ background-color: transparent;
+ color: #ffffff;
+}
+
+#workspaces button:hover {
+ background: rgba(0, 0, 0, 0.2);
+}
+
+#workspaces button.focused {
+ background-color: #64727D;
+ box-shadow: inset 0 -3px #ffffff;
+}
+
+#workspaces button.urgent {
+ background-color: #eb4d4b;
+}
+
+#mode {
+ background-color: #64727D;
+ box-shadow: inset 0 -3px #ffffff;
+}
+
+#clock,
+#battery,
+#disk,
+#temperature,
+#backlight,
+#network,
+#pulseaudio,
+#wireplumber,
+#custom-media,
+#tray,
+#mode,
+#idle_inhibitor,
+#scratchpad,
+#power-profiles-daemon,
+#mpd {
+ padding: 0 10px;
+ color: #ffffff;
+}
+
+#window,
+#workspaces {
+ margin: 0 4px;
+}
+
+/* If workspaces is the leftmost module, omit left margin */
+.modules-left > widget:first-child > #workspaces {
+ margin-left: 0;
+}
+
+/* If workspaces is the rightmost module, omit right margin */
+.modules-right > widget:last-child > #workspaces {
+ margin-right: 0;
+}
+
+#clock {
+ /*background-color: #64727D;*/
+}
+
+#battery {
+ /*background-color: #ffffff;*/
+ /*color: #000000;*/
+}
+
+#battery.charging, #battery.plugged {
+ color: #ffffff;
+ /*background-color: #26A65B;*/
+}
+
+@keyframes blink {
+ to {
+ background-color: #ffffff;
+ color: #000000;
+ }
+}
+
+/* Using steps() instead of linear as a timing function to limit cpu usage */
+#battery.critical:not(.charging) {
+ background-color: #f53c3c;
+ color: #ffffff;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: steps(12);
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+}
+
+#power-profiles-daemon {
+ padding-right: 15px;
+}
+
+#power-profiles-daemon.performance {
+ /*background-color: #f53c3c;*/
+ color: #ffffff;
+}
+
+#power-profiles-daemon.balanced {
+ /*background-color: #2980b9;*/
+ color: #ffffff;
+}
+
+#power-profiles-daemon.power-saver {
+ /*background-color: #2ecc71;*/
+ /*color: #000000;*/
+}
+
+label:focus {
+ background-color: #000000;
+}
+
+#cpu {
+ /*background-color: #2ecc71;*/
+ /*color: #000000;*/
+}
+
+#memory {
+ /*background-color: #9b59b6;*/
+}
+
+#disk {
+ /*background-color: #964B00;*/
+}
+
+#backlight {
+ /*background-color: #90b1b1;*/
+}
+
+#network {
+ /*background-color: #2980b9;*/
+}
+
+#network.disconnected {
+ /*background-color: #f53c3c;*/
+}
+
+#pulseaudio {
+ /*background-color: #f1c40f;*/
+ /*color: #000000;*/
+}
+
+#pulseaudio.muted {
+ /*background-color: #90b1b1;*/
+ /*color: #2a5c45;*/
+}
+
+#wireplumber {
+ /*background-color: #fff0f5;*/
+ /*color: #000000;*/
+}
+
+#wireplumber.muted {
+ /*background-color: #f53c3c;*/
+}
+
+#custom-media {
+ /*background-color: #66cc99;*/
+ /*color: #2a5c45;*/
+ min-width: 100px;
+}
+
+#custom-media.custom-spotify {
+ /*background-color: #66cc99;*/
+}
+
+#custom-media.custom-vlc {
+ /*background-color: #ffa000;*/
+}
+
+#temperature {
+ /*background-color: #f0932b;*/
+}
+
+#temperature.critical {
+ background-color: #eb4d4b;
+}
+
+#tray {
+ /*background-color: #2980b9;*/
+}
+
+#tray > .passive {
+ -gtk-icon-effect: dim;
+}
+
+#tray > .needs-attention {
+ -gtk-icon-effect: highlight;
+ background-color: #eb4d4b;
+}
+
+#idle_inhibitor {
+ /*background-color: #2d3436;*/
+}
+
+#idle_inhibitor.activated {
+ /*background-color: #ecf0f1;*/
+ color: #cfcfcf;
+}
+
+#mpd {
+ /*background-color: #66cc99;*/
+ /*color: #2a5c45;*/
+}
+
+#mpd.disconnected {
+ /*background-color: #f53c3c;*/
+}
+
+#mpd.stopped {
+ /*background-color: #90b1b1;*/
+}
+
+#mpd.paused {
+ /*background-color: #51a37a;*/
+}
+
+#language {
+ /*background: #00b093;*/
+ /*color: #740864;*/
+ /*padding: 0 5px;*/
+ margin: 0 5px;
+ min-width: 16px;
+}
+
+#keyboard-state {
+ background: #97e1ad;
+ color: #000000;
+ padding: 0 0px;
+ margin: 0 5px;
+ min-width: 16px;
+}
+
+#keyboard-state > label {
+ padding: 0 5px;
+}
+
+#keyboard-state > label.locked {
+ background: rgba(0, 0, 0, 0.2);
+}
+
+#scratchpad {
+ background: rgba(0, 0, 0, 0.2);
+}
+
+#scratchpad.empty {
+ background-color: transparent;
+}
+
+#privacy {
+ padding: 0;
+}
+
+#privacy-item {
+ padding: 0 5px;
+ color: white;
+}
+
+#privacy-item.screenshare {
+ background-color: #cf5700;
+}
+
+#privacy-item.audio-in {
+ background-color: #1ca000;
+}
+
+#privacy-item.audio-out {
+ background-color: #0069d4;
+}