diff --git a/.tmux.conf b/.tmux.conf index 0d64b9c..0eb457d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -4,5 +4,7 @@ set -g terminal-overrides "xterm-kitty" # set -ga terminal-overrides ",*256col*:Tc" set -ga terminal-overrides ",xterm-256color:Tc" set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' +set-option -g default-shell /home/linuxbrew/.linuxbrew/bin/zsh +setw -g mode-keys vi # underscore colours - needs tmux-3.0 set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' diff --git a/.zshrc b/.zshrc index 20c423c..3d40f03 100644 --- a/.zshrc +++ b/.zshrc @@ -1,11 +1,3 @@ -### Added by Codeium. These lines cannot be automatically removed if modified -if command -v termium > /dev/null 2>&1; then - eval "$(termium shell-hook show pre)" -fi -### End of Codeium integration -# If you come from bash you might have to change your $PATH. -# export PATH=$HOME/bin:/usr/local/bin:$PATH - # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" @@ -79,7 +71,6 @@ plugins=( git zsh-syntax-highlighting zsh-autosuggestions - wakatime ) source $ZSH/oh-my-zsh.sh @@ -119,6 +110,10 @@ alias leetcode="nvim leetcode.nvim" export LD_LIBRARY_PATH=/usr/lib:/usr/local/cuda/lib65:$LD_LIBRARY_PATH export PATH=/usr/local/cuda/bin:$PATH +me () { + md "$@" && cd "$@" +} + __move_to_trash () { mv "$@" ~/.trash } @@ -143,32 +138,7 @@ ghclone () { } # -export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" -# >>> conda initialize >>> -# !! Contents within this block are managed by 'conda init' !! -__conda_setup="$('/home/user/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" -if [ $? -eq 0 ]; then - eval "$__conda_setup" -else - if [ -f "/home/user/miniconda3/etc/profile.d/conda.sh" ]; then - . "/home/user/miniconda3/etc/profile.d/conda.sh" - else - export PATH="/home/user/miniconda3/bin:$PATH" - fi -fi -unset __conda_setup -# <<< conda initialize <<< - - -### Added by Codeium. These lines cannot be automatically removed if modified -if command -v termium > /dev/null 2>&1; then - eval "$(termium shell-hook show post)" -fi -### End of Codeium integration - eval "$(oh-my-posh init zsh)" eval "$(oh-my-posh init zsh --config ~/omp-themes/atomic.omp.json)" diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..45cd57a --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,310 @@ +# 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,1.25 + +xwayland { + force_zero_scaling=true +} + +################### +### MY PROGRAMS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ + +# Set programs that you use +$terminal = alacritty +$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 +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = hyprpaper +exec-once = wl-paste --type text --watch cliphist store +exec-once = wl-paste --type image --watch cliphist store +exec-once = waybar +exec-once = nm-applet +exec-once = fcitx5 -d --replace +exec-once = dunst +exec-once = /usr/lib/polkit-kde-authentication-agent-1 +exec-once = udiskie & +exec-once = clash-verge +exec-once = dhcpcd +exec-once = 1password --silent + + +############################# +### ENVIRONMENT VARIABLES ### +############################# + +# See https://wiki.hyprland.org/Configuring/Environment-variables/ + +env = XCURSOR_SIZE,24 +env = HYPRCURSOR_SIZE,24 +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_TYPE,wayland +env = XDG_SESSION_DESKTOP,wayland +env = EDITOR,vim +env = MOZ_ENABLE_WAYLAND,1 +# env = GDK_BACKEND,"wayland,x11" +env = QT_QPA_PLATFORM,wayland;xcb +env = QT_QPA_PLATFORMTHEME,qt5ct +env = QT_AUTO_SCREEN_SCALE_FACTOR,1.2 +env = QT_SCALE_FACTOR,1.2 +env = GDK_DPI_SCALE,1.2 +env = GTK_IM_MODULE,fcitx +env = QT_IM_MODULE,fcitx +env = INPUT_METHOD,fcitx +env = SDL_IM_MODULE,fcitx, +env = GLFW_IM_MODULE,ibus, +env = XMODIFIERS,"@im=fcitx" + + +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hyprland.org/Configuring/Variables/ + +# https://wiki.hyprland.org/Configuring/Variables/#general +general { + gaps_in = 5 + gaps_out = 20 + + 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_is_master = true +} + +# 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 + kb_variant = + kb_model = + kb_options = + kb_rules = + + repeat_delay = 250 + + 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 + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, T, exec, $terminal +bind = $mainMod, C, killactive, +bind = $mainMod, M, exit, +bind = $mainMod, E, exec, $fileManager +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 + +# Change window size +binde = $mainMod SHIFT, right, resizeactive, 10 0 +binde = $mainMod SHIFT, left, resizeactive, -10 0 +binde = $mainMod SHIFT, up, resizeactive, 0 -10 +binde = $mainMod SHIFT, down, resizeactive, 0 10 + +# Swap windows +bind = $mainMod SHIFT, H, movewindow, l +bind = $mainMod SHIFT, L, movewindow, r +bind = $mainMod SHIFT, K, movewindow, u +bind = $mainMod SHIFT, J, movewindow, d + +#Volume +binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ +bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- + +# Brightness +binde=, XF86MonBrightnessDown, exec, brightnessctl set 5%- +bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5% + +# Screenshot +bind = , PRINT, exec, hyprshot -m output + +# Session Lock +bindr= $mainMod, L, exec, swaylock -c 000000 + +############################## +### WINDOWS AND WORKSPACES ### +############################## + +# 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:^(xwaylandvideobridge) # You'll probably like this. + +misc { + force_default_wallpaper=true, + disable_hyprland_logo=false +} diff --git a/nvim/init.vim b/nvim/init.vim new file mode 100644 index 0000000..4091a5f --- /dev/null +++ b/nvim/init.vim @@ -0,0 +1 @@ +lua require('config') diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json new file mode 100644 index 0000000..8202c99 --- /dev/null +++ b/nvim/lazy-lock.json @@ -0,0 +1,80 @@ +{ + "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" }, + "LuaSnip": { "branch": "master", "commit": "b152822e1a4bafb6bdf11a16cc26525cbd95ee00" }, + "NeoColumn.nvim": { "branch": "main", "commit": "db7695c7c70fcacd290712deef659bca464634ee" }, + "arshamiser.nvim": { "branch": "master", "commit": "13af62f49e5c906589aba48b338267c9ef6e2a8e" }, + "arshlib.nvim": { "branch": "master", "commit": "e76e35c927098d07445c72e9416cce243f6aae59" }, + "auto-save.nvim": { "branch": "main", "commit": "979b6c82f60cfa80f4cf437d77446d0ded0addf0" }, + "barbar.nvim": { "branch": "master", "commit": "dd852401ee902745b67fc09a83d113b3fe82a96f" }, + "barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" }, + "better-escape.vim": { "branch": "master", "commit": "6b16a45a839727977277f6ab11bded63e9ed86bb" }, + "cmake-tools.nvim": { "branch": "master", "commit": "b221c5973ca520b0f079e16cd9919a8d944f7890" }, + "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, + "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" }, + "cmp-emoji": { "branch": "main", "commit": "e8398e2adf512a03bb4e1728ca017ffeac670a9f" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, + "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, + "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, + "codesnap.nvim": { "branch": "main", "commit": "a223fd882953e56ae1a8747fdc44b8d6a2ff7a9b" }, + "cphelper.nvim": { "branch": "main", "commit": "ab259315496514d58b2021048ef40437ad0f5814" }, + "diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" }, + "dressing.nvim": { "branch": "master", "commit": "5162edb1442a729a885c45455a07e9a89058be2f" }, + "eslint.nvim": { "branch": "main", "commit": "158f2289907d377018752fcfe0d61b746dc11767" }, + "feline.nvim": { "branch": "master", "commit": "3587f57480b88e8009df7b36dc84e9c7ff8f2c49" }, + "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, + "fzf-lua": { "branch": "main", "commit": "7109a18dd1832703209fc8f46e85df3c6ed6d059" }, + "git-conflict.nvim": { "branch": "main", "commit": "4c8e252b87d54d944c1e56bfb477f78b6fdaf661" }, + "gitsigns.nvim": { "branch": "main", "commit": "805610a9393fa231f2c2b49cb521bfa413fadb3d" }, + "goto-preview": { "branch": "main", "commit": "3552fad4a0244ffd9ac86508e29ccc5166f19eb8" }, + "heirline.nvim": { "branch": "master", "commit": "c52391dc4428d503f65e6bcb1533e6334f22a136" }, + "hlargs.nvim": { "branch": "main", "commit": "0ee7783f9f40a6dd15fbb4e497b24818342a9940" }, + "hop.nvim": { "branch": "master", "commit": "059e88e9dcaad3280ea1fd5c757f6904f274aed5" }, + "image.nvim": { "branch": "master", "commit": "66af29f7244256eea82b2583ab65c2fab0567d0d" }, + "indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" }, + "lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" }, + "leetcode.nvim": { "branch": "master", "commit": "458da8ea7e73e8ed221165aa56a595e33c4ec644" }, + "legendary.nvim": { "branch": "master", "commit": "33108b19edadee8c2758f6bc574cc8335fdf89fb" }, + "lsp-inlayhints.nvim": { "branch": "main", "commit": "d981f65c9ae0b6062176f0accb9c151daeda6f16" }, + "lsp_signature.nvim": { "branch": "master", "commit": "aed5d1162b0f07bb3af34bedcc5f70a2b6466ed8" }, + "lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" }, + "marks.nvim": { "branch": "master", "commit": "74e8d01b2a2131b6e46354cffc553aa7f81bcf5b" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" }, + "mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" }, + "melange-nvim": { "branch": "master", "commit": "95ec2aee0d3e88e8d9d338ecd60d32a36e8f6bdb" }, + "modicator.nvim": { "branch": "main", "commit": "780ea1e98c9bee8f3816685213b0aac42b34cd75" }, + "monokai": { "branch": "master", "commit": "aafde73a622435891d36b411d8623e705ead6293" }, + "neo-tree.nvim": { "branch": "v3.x", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" }, + "neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" }, + "neogit": { "branch": "master", "commit": "bc0c609e3568a171e0549b449aa1b2b4b5b20e8c" }, + "nui.nvim": { "branch": "main", "commit": "a3597dc88b53489d3fddbddbbd13787355253bb0" }, + "null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" }, + "nvim-autopairs": { "branch": "master", "commit": "14e97371b2aab6ee70054c1070a123dfaa3e217e" }, + "nvim-cmp": { "branch": "main", "commit": "24122371810089d390847d8ba66325c1f1aa64c0" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" }, + "nvim-lspconfig": { "branch": "master", "commit": "94513a5b246cf32a8f87ca714af50911df63351c" }, + "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, + "nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" }, + "nvim-numbertoggle": { "branch": "main", "commit": "c5827153f8a955886f1b38eaea6998c067d2992f" }, + "nvim-surround": { "branch": "main", "commit": "6d0dc3dbb557bcc6a024969da461df4ba803fc48" }, + "nvim-treesitter": { "branch": "master", "commit": "f224fef9d28e1fd30ccd9a9c374ced2546dde6ea" }, + "nvim-treesitter-context": { "branch": "master", "commit": "df58c81237ffe2b277e14a1692212162a34e2e2a" }, + "nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" }, + "outline.nvim": { "branch": "main", "commit": "dbd836893fb99cfc33119d7c4abbdb700210f54b" }, + "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }, + "prettier.nvim": { "branch": "main", "commit": "d98e732cb73690b07c00c839c924be1d1d9ac5c2" }, + "search.nvim": { "branch": "main", "commit": "cfde7b91c713d17e590aad2f0d22a68ddeba3043" }, + "telescope-git-file-history.nvim": { "branch": "master", "commit": "f94fab1d5a51fa28dd95b1a6bd377505dc1a8e82" }, + "telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, + "todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" }, + "trouble.nvim": { "branch": "main", "commit": "b9cf677f20bb2faa2dacfa870b084e568dca9572" }, + "twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" }, + "usage-tracker.nvim": { "branch": "main", "commit": "739532b069e0d829b45ede989c657ac32a2141a6" }, + "vim-cursorword": { "branch": "master", "commit": "34852083276c1fd9ff4cccaf052111e7d5a2472e" }, + "vim-fugitive": { "branch": "master", "commit": "ce882460cf3db12e99f8bf579cbf99e331f6dd4f" }, + "vim-obsession": { "branch": "master", "commit": "fe9d3e1a9a50171e7d316a52e1e56d868e4c1fe5" }, + "vim-prosession": { "branch": "master", "commit": "1cb2eadde0b79f49eb4b5a54cc78735aea33cbca" }, + "vim-visual-multi": { "branch": "master", "commit": "b84a6d42c1c10678928b0bf8327f378c8bc8af5a" }, + "vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" }, + "vim-wakatime": { "branch": "master", "commit": "3cb40867cb5a3120f9bef76eff88edc7f1dc1a23" }, + "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" } +} \ No newline at end of file diff --git a/lua/config.lua b/nvim/lua/config.lua similarity index 91% rename from lua/config.lua rename to nvim/lua/config.lua index fe127ce..0c41f2c 100644 --- a/lua/config.lua +++ b/nvim/lua/config.lua @@ -21,6 +21,7 @@ vim.cmd("set signcolumn=yes") vim.cmd("set list") vim.cmd("set noequalalways") vim.cmd("set cmdheight=0") +vim.opt.scrolloff = 10 vim.opt.foldmethod = 'expr' vim.opt.foldexpr = 'nvim_treesitter#foldexpr()' vim.opt.foldlevelstart = 99 @@ -297,115 +298,6 @@ local plugins = { -- refer to the configuration section below }, }, - { - "kawre/leetcode.nvim", - build = ":TSUpdate html", - dependencies = { - "nvim-telescope/telescope.nvim", - "nvim-lua/plenary.nvim", -- required by telescope - "MunifTanjim/nui.nvim", - - -- optional - "nvim-treesitter/nvim-treesitter", - "rcarriga/nvim-notify", - "nvim-tree/nvim-web-devicons", - "3rd/image.nvim", - }, - opts = { - ---@type string - arg = "leetcode.nvim", - - ---@type lc.lang - lang = "cpp", - - cn = { -- leetcode.cn - enabled = true, ---@type boolean - translator = true, ---@type boolean - translate_problems = true, ---@type boolean - }, - - ---@type lc.storage - storage = { - home = vim.fn.stdpath("data") .. "/.leetcode", - cache = vim.fn.stdpath("cache") .. "/.leetcode", - }, - - ---@type table - plugins = { - non_standalone = false, - }, - - ---@type boolean - logging = true, - - injector = { - ['cpp'] = { - before = [[ - ]], - }, - }, ---@type table - - cache = { - update_interval = 60 * 60 * 24 * 7, ---@type integer 7 days - }, - - console = { - open_on_runcode = true, ---@type boolean - - dir = "row", ---@type lc.direction - - size = { ---@type lc.size - width = "90%", - height = "75%", - }, - - result = { - size = "60%", ---@type lc.size - }, - - testcase = { - virt_text = true, ---@type boolean - - size = "40%", ---@type lc.size - }, - }, - - description = { - position = "left", ---@type lc.position - - width = "35%", ---@type lc.size - - show_stats = true, ---@type boolean - }, - - hooks = { - ---@type fun()[] - ["enter"] = {}, - - ---@type fun(question: lc.ui.Question)[] - ["question_enter"] = {}, - - ---@type fun()[] - ["leave"] = {}, - }, - - keys = { - toggle = { "q" }, ---@type string|string[] - confirm = { "" }, ---@type string|string[] - - reset_testcases = "r", ---@type string - use_testcase = "U", ---@type string - focus_testcases = "H", ---@type string - focus_result = "L", ---@type string - }, - - ---@type lc.highlights - theme = {}, - - ---@type boolean - image_support = false, - } - }, { 'Civitasv/cmake-tools.nvim' }, { 'p00f/cphelper.nvim' }, { "arielherself/melange-nvim"}, @@ -696,7 +588,9 @@ vim.api.nvim_create_autocmd("LspAttach", { end, }) -require("lsp_signature").setup({}) +require("lsp_signature").setup({ + handler_opts = { border = "none" }, +}) vim.keymap.set({'i', 'n', 'v', 'x'}, '', '', {noremap=true}) vim.keymap.set({'i', 'n', 'v', 'x'}, '', '', {noremap=true}) diff --git a/lua/overseer/template/user/cpp_cp.lua b/nvim/lua/overseer/template/user/cpp_cp.lua similarity index 100% rename from lua/overseer/template/user/cpp_cp.lua rename to nvim/lua/overseer/template/user/cpp_cp.lua diff --git a/lua/snippets/bit.lua b/nvim/lua/snippets/bit.lua similarity index 100% rename from lua/snippets/bit.lua rename to nvim/lua/snippets/bit.lua diff --git a/lua/snippets/cpp-include.lua b/nvim/lua/snippets/cpp-include.lua similarity index 100% rename from lua/snippets/cpp-include.lua rename to nvim/lua/snippets/cpp-include.lua diff --git a/lua/snippets/exgcd.lua b/nvim/lua/snippets/exgcd.lua similarity index 100% rename from lua/snippets/exgcd.lua rename to nvim/lua/snippets/exgcd.lua diff --git a/lua/snippets/fhq-treap.lua b/nvim/lua/snippets/fhq-treap.lua similarity index 100% rename from lua/snippets/fhq-treap.lua rename to nvim/lua/snippets/fhq-treap.lua diff --git a/lua/snippets/hash-deque.lua b/nvim/lua/snippets/hash-deque.lua similarity index 100% rename from lua/snippets/hash-deque.lua rename to nvim/lua/snippets/hash-deque.lua diff --git a/lua/snippets/hash-vec.lua b/nvim/lua/snippets/hash-vec.lua similarity index 100% rename from lua/snippets/hash-vec.lua rename to nvim/lua/snippets/hash-vec.lua diff --git a/lua/snippets/init.lua b/nvim/lua/snippets/init.lua similarity index 100% rename from lua/snippets/init.lua rename to nvim/lua/snippets/init.lua diff --git a/lua/snippets/lpf.lua b/nvim/lua/snippets/lpf.lua similarity index 100% rename from lua/snippets/lpf.lua rename to nvim/lua/snippets/lpf.lua diff --git a/lua/snippets/pollard-rho.lua b/nvim/lua/snippets/pollard-rho.lua similarity index 100% rename from lua/snippets/pollard-rho.lua rename to nvim/lua/snippets/pollard-rho.lua diff --git a/lua/snippets/quick-union.lua b/nvim/lua/snippets/quick-union.lua similarity index 100% rename from lua/snippets/quick-union.lua rename to nvim/lua/snippets/quick-union.lua diff --git a/lua/snippets/segtree-generic.lua b/nvim/lua/snippets/segtree-generic.lua similarity index 100% rename from lua/snippets/segtree-generic.lua rename to nvim/lua/snippets/segtree-generic.lua diff --git a/lua/snippets/sparse-table.lua b/nvim/lua/snippets/sparse-table.lua similarity index 100% rename from lua/snippets/sparse-table.lua rename to nvim/lua/snippets/sparse-table.lua diff --git a/lua/snippets/tarjan.lua b/nvim/lua/snippets/tarjan.lua similarity index 100% rename from lua/snippets/tarjan.lua rename to nvim/lua/snippets/tarjan.lua diff --git a/nvim/usage_data.json b/nvim/usage_data.json new file mode 100644 index 0000000..1122385 --- /dev/null +++ b/nvim/usage_data.json @@ -0,0 +1 @@ +{"last_cleanup":1715680831,"data":{"":{"visit_log":[{"entry":1715680886,"keystrokes":0,"exit":1715680956,"elapsed_time_sec":70},{"entry":1715683517,"elapsed_time_sec":0,"keystrokes":2},{"entry":1715683519,"keystrokes":1,"exit":1715683534,"elapsed_time_sec":15},{"entry":1715683534,"elapsed_time_sec":0,"keystrokes":1},{"entry":1715683540,"keystrokes":18,"exit":1715683546,"elapsed_time_sec":6},{"entry":1715683561,"elapsed_time_sec":0,"keystrokes":1},{"entry":1715683680,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715683725,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715683736,"keystrokes":47,"exit":1715683766,"elapsed_time_sec":30},{"entry":1715683768,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715687741,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715687812,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715687819,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715690567,"keystrokes":30,"exit":1715690573,"elapsed_time_sec":6},{"entry":1715691815,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715693139,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715698506,"keystrokes":49,"exit":1715698523,"elapsed_time_sec":17},{"entry":1715743454,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715743823,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715744658,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715744687,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715744704,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715744749,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715744853,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715744968,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745436,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745452,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745483,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745554,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745600,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745646,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745749,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745808,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745861,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715745977,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746095,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746131,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746157,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746350,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746358,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746398,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746413,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746471,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746504,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746632,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746639,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746671,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746748,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746763,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746769,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746801,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746820,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746907,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746922,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746941,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715746968,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715748013,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749222,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749275,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749297,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749322,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749401,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749413,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749431,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749461,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749479,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749501,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749508,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749523,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749625,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749648,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749684,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749707,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749762,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749775,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749901,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749928,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749932,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715749935,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715750004,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715750040,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715750228,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752014,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752029,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752037,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752101,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752838,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752918,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715752928,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715753010,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715753088,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754257,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754278,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754332,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754375,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754652,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754847,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754866,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715754875,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755066,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755189,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755322,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755356,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755391,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755419,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755422,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755442,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755473,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755571,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755580,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715755586,"keystrokes":0,"elapsed_time_sec":0}],"git_project_name":"RustIsBestLang","filetype":"lazy"},"\/home\/user\/RustIsBestLang\/src\/bin\/std.in":{"visit_log":[{"entry":1715746734,"keystrokes":27,"exit":1715746748,"elapsed_time_sec":14},{"entry":1715746958,"keystrokes":5,"exit":1715746968,"elapsed_time_sec":10},{"entry":1715747998,"keystrokes":27,"exit":1715748007,"elapsed_time_sec":9},{"entry":1715749765,"keystrokes":7,"exit":1715749775,"elapsed_time_sec":10},{"entry":1715750206,"keystrokes":26,"exit":1715750214,"elapsed_time_sec":8},{"entry":1715753072,"keystrokes":67,"exit":1715753088,"elapsed_time_sec":16},{"entry":1715753110,"keystrokes":3,"exit":1715753292,"elapsed_time_sec":182},{"entry":1715754236,"keystrokes":81,"exit":1715754257,"elapsed_time_sec":21},{"entry":1715754364,"keystrokes":69,"exit":1715754375,"elapsed_time_sec":11},{"entry":1715755185,"keystrokes":1,"elapsed_time_sec":0}],"git_project_name":"RustIsBestLang","filetype":""},"\/home\/user\/.config\/hypr\/hyprland.conf":{"visit_log":[{"entry":1715680868,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715681841,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715681860,"keystrokes":329,"exit":1715681962,"elapsed_time_sec":102},{"entry":1715682491,"keystrokes":3,"exit":1715682504,"elapsed_time_sec":13},{"entry":1715682517,"keystrokes":135,"exit":1715682640,"elapsed_time_sec":123},{"entry":1715682721,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715682866,"keystrokes":3,"exit":1715682875,"elapsed_time_sec":9},{"entry":1715682891,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715682902,"keystrokes":17,"exit":1715682909,"elapsed_time_sec":7},{"entry":1715683259,"keystrokes":123,"exit":1715683336,"elapsed_time_sec":77},{"entry":1715684360,"keystrokes":53,"exit":1715684388,"elapsed_time_sec":28},{"entry":1715684506,"keystrokes":4,"exit":1715684572,"elapsed_time_sec":66},{"entry":1715687404,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715687460,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715687544,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715688472,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691716,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715692927,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715741471,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715742218,"keystrokes":0,"elapsed_time_sec":0},{"entry":1715742533,"elapsed_time_sec":0,"keystrokes":0}],"git_project_name":"","filetype":"conf"},"\/home\/user\/.config\/nvim\/init.vim":{"visit_log":[],"git_project_name":"","filetype":"vim"},"\/home\/user\/RustIsBestLang\/src\/bin\/cf-1821d.cc":{"visit_log":[{"entry":1715743441,"elapsed_time_sec":43,"exit":1715743484,"keystrokes":236},{"entry":1715743800,"elapsed_time_sec":10,"exit":1715743810,"keystrokes":18},{"entry":1715744236,"keystrokes":1451,"exit":1715744652,"elapsed_time_sec":416},{"entry":1715744670,"keystrokes":12,"exit":1715744687,"elapsed_time_sec":17},{"entry":1715744698,"keystrokes":48,"exit":1715744704,"elapsed_time_sec":6},{"entry":1715744716,"keystrokes":144,"exit":1715744749,"elapsed_time_sec":33},{"entry":1715744810,"keystrokes":126,"exit":1715744853,"elapsed_time_sec":43},{"entry":1715744907,"keystrokes":156,"exit":1715744968,"elapsed_time_sec":61},{"entry":1715744978,"keystrokes":1035,"exit":1715745436,"elapsed_time_sec":458},{"entry":1715745444,"keystrokes":32,"exit":1715745452,"elapsed_time_sec":8},{"entry":1715745486,"keystrokes":51,"exit":1715745554,"elapsed_time_sec":68},{"entry":1715745560,"keystrokes":38,"exit":1715745600,"elapsed_time_sec":40},{"entry":1715745622,"keystrokes":231,"exit":1715745646,"elapsed_time_sec":24},{"entry":1715745693,"keystrokes":283,"exit":1715745749,"elapsed_time_sec":56},{"entry":1715745764,"keystrokes":164,"exit":1715745808,"elapsed_time_sec":44},{"entry":1715745940,"keystrokes":77,"exit":1715745977,"elapsed_time_sec":37},{"entry":1715745992,"keystrokes":237,"exit":1715746095,"elapsed_time_sec":103},{"entry":1715746110,"keystrokes":50,"exit":1715746130,"elapsed_time_sec":20},{"entry":1715746137,"keystrokes":29,"exit":1715746156,"elapsed_time_sec":19},{"entry":1715746297,"keystrokes":169,"exit":1715746350,"elapsed_time_sec":53},{"entry":1715746403,"keystrokes":48,"exit":1715746413,"elapsed_time_sec":10},{"entry":1715746497,"keystrokes":77,"exit":1715746504,"elapsed_time_sec":7},{"entry":1715746597,"keystrokes":45,"exit":1715746628,"elapsed_time_sec":31},{"entry":1715746643,"keystrokes":66,"exit":1715746671,"elapsed_time_sec":28},{"entry":1715746673,"keystrokes":7,"exit":1715746734,"elapsed_time_sec":61},{"entry":1715746780,"keystrokes":67,"exit":1715746800,"elapsed_time_sec":20},{"entry":1715746806,"keystrokes":80,"exit":1715746820,"elapsed_time_sec":14},{"entry":1715746826,"keystrokes":9,"exit":1715746904,"elapsed_time_sec":78},{"entry":1715746944,"keystrokes":81,"exit":1715746958,"elapsed_time_sec":14},{"entry":1715746971,"keystrokes":6,"exit":1715747014,"elapsed_time_sec":43},{"entry":1715747794,"keystrokes":1,"exit":1715747801,"elapsed_time_sec":7},{"entry":1715747805,"keystrokes":439,"exit":1715747998,"elapsed_time_sec":193},{"entry":1715748007,"keystrokes":7,"exit":1715748013,"elapsed_time_sec":6},{"entry":1715748518,"keystrokes":1020,"exit":1715749222,"elapsed_time_sec":704},{"entry":1715749225,"keystrokes":159,"exit":1715749275,"elapsed_time_sec":50},{"entry":1715749278,"keystrokes":96,"exit":1715749296,"elapsed_time_sec":18},{"entry":1715749311,"keystrokes":90,"exit":1715749322,"elapsed_time_sec":11},{"entry":1715749337,"keystrokes":213,"exit":1715749401,"elapsed_time_sec":64},{"entry":1715749403,"keystrokes":56,"exit":1715749413,"elapsed_time_sec":10},{"entry":1715749420,"keystrokes":53,"exit":1715749431,"elapsed_time_sec":11},{"entry":1715749434,"keystrokes":35,"exit":1715749461,"elapsed_time_sec":27},{"entry":1715749465,"keystrokes":48,"exit":1715749479,"elapsed_time_sec":14},{"entry":1715749483,"keystrokes":52,"exit":1715749501,"elapsed_time_sec":18},{"entry":1715749532,"keystrokes":103,"exit":1715749625,"elapsed_time_sec":93},{"entry":1715749628,"keystrokes":42,"exit":1715749648,"elapsed_time_sec":20},{"entry":1715749650,"keystrokes":44,"exit":1715749684,"elapsed_time_sec":34},{"entry":1715749717,"keystrokes":55,"exit":1715749762,"elapsed_time_sec":45},{"entry":1715749881,"keystrokes":186,"exit":1715749901,"elapsed_time_sec":20},{"entry":1715750032,"keystrokes":79,"exit":1715750040,"elapsed_time_sec":8},{"entry":1715750043,"keystrokes":111,"exit":1715750142,"elapsed_time_sec":99},{"entry":1715750163,"keystrokes":34,"exit":1715750206,"elapsed_time_sec":43},{"entry":1715750214,"keystrokes":5,"exit":1715750228,"elapsed_time_sec":14},{"entry":1715750230,"keystrokes":0,"exit":1715750811,"elapsed_time_sec":581}],"git_project_name":"RustIsBestLang","filetype":"cpp"},"\/home\/user\/.config\/waybar\/style.css":{"visit_log":[{"entry":1715690919,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691174,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691790,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691825,"keystrokes":117,"exit":1715691854,"elapsed_time_sec":29},{"entry":1715691866,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691979,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715692018,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715692043,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715692071,"keystrokes":77,"exit":1715692086,"elapsed_time_sec":15}],"git_project_name":"","filetype":"css"},"\/home\/user\/.config\/alacritty\/alacritty.toml":{"visit_log":[{"entry":1715681000,"keystrokes":65,"exit":1715681020,"elapsed_time_sec":20}],"git_project_name":"","filetype":"toml"},"\/home\/user\/.wakatime.cfg":{"visit_log":[{"entry":1715744135,"keystrokes":0,"elapsed_time_sec":0}],"git_project_name":"","filetype":"cfg"},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/12122:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < cf-1821d.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/9002:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < cf-1821d.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/12904:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < cf-1821d.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/13482:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < cf-1821d.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/13419:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < cf-1821d.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"\/home\/user\/.config\/wlogout\/layout":{"visit_log":[{"entry":1715693140,"elapsed_time_sec":0,"keystrokes":0}],"git_project_name":"","filetype":""},"\/home\/user\/.config\/nvim\/lua\/config.lua":{"visit_log":[{"entry":1715680964,"keystrokes":2,"exit":1715680975,"elapsed_time_sec":11},{"entry":1715743484,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715743810,"elapsed_time_sec":0,"keystrokes":0}],"git_project_name":"RustIsBestLang","filetype":"lua"},"\/etc\/environment":{"visit_log":[{"entry":1715684337,"keystrokes":7,"exit":1715684355,"elapsed_time_sec":18}],"git_project_name":"","filetype":"conf"},"\/home\/user\/RustIsBestLang\/src\/bin\/neo-tree filesystem [1]":{"visit_log":[{"entry":1715683749,"keystrokes":2,"exit":1715683760,"elapsed_time_sec":11},{"entry":1715683762,"elapsed_time_sec":0,"keystrokes":5}],"git_project_name":"RustIsBestLang","filetype":"neo-tree"},"\/home\/user\/RustIsBestLang\/src\/bin\/test.cc":{"visit_log":[{"entry":1715683563,"keystrokes":38,"exit":1715683656,"elapsed_time_sec":93},{"entry":1715683684,"keystrokes":3,"exit":1715683725,"elapsed_time_sec":41},{"entry":1715683777,"keystrokes":1,"exit":1715683785,"elapsed_time_sec":8},{"entry":1715683827,"keystrokes":3,"exit":1715683961,"elapsed_time_sec":134},{"entry":1715687673,"keystrokes":370,"exit":1715687741,"elapsed_time_sec":68},{"entry":1715687759,"keystrokes":305,"exit":1715687832,"elapsed_time_sec":73},{"entry":1715754561,"keystrokes":1707,"exit":1715754847,"elapsed_time_sec":286},{"entry":1715754851,"keystrokes":43,"exit":1715754866,"elapsed_time_sec":15}],"git_project_name":"RustIsBestLang","filetype":"cpp"},"\/home\/user\/.zshrc":{"visit_log":[{"entry":1715681141,"keystrokes":124,"exit":1715681198,"elapsed_time_sec":57},{"entry":1715681257,"keystrokes":14,"exit":1715681327,"elapsed_time_sec":70},{"entry":1715681612,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715681667,"keystrokes":2,"exit":1715681695,"elapsed_time_sec":28}],"git_project_name":"","filetype":"zsh"},"\/home\/user\/.tmux.conf":{"visit_log":[{"entry":1715681478,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715681561,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715682067,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715686426,"elapsed_time_sec":0,"keystrokes":0}],"git_project_name":"","filetype":"tmux"},"\/home\/user\/RustIsBestLang\/src\/bin\/test.py":{"visit_log":[{"entry":1715687836,"keystrokes":6,"exit":1715687951,"elapsed_time_sec":115},{"entry":1715687952,"keystrokes":2,"exit":1715688001,"elapsed_time_sec":49},{"entry":1715690525,"keystrokes":1,"exit":1715690531,"elapsed_time_sec":6},{"entry":1715743054,"elapsed_time_sec":8,"exit":1715743062,"keystrokes":1},{"entry":1715754880,"keystrokes":1104,"exit":1715755063,"elapsed_time_sec":183}],"git_project_name":"RustIsBestLang","filetype":"python"},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/16434:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < test.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/16238:\/home\/linuxbrew\/.linuxbrew\/bin\/zsh":{"visit_log":[{"entry":1715755114,"keystrokes":1,"exit":1715755184,"elapsed_time_sec":70}],"git_project_name":"RustIsBestLang","filetype":""},"\/home\/user\/RustIsBestLang\/src\/bin\/cf-1805d.cc":{"visit_log":[{"entry":1715751513,"keystrokes":1981,"exit":1715752011,"elapsed_time_sec":498},{"entry":1715752121,"keystrokes":3030,"exit":1715752838,"elapsed_time_sec":717},{"entry":1715752931,"keystrokes":9,"exit":1715753006,"elapsed_time_sec":75},{"entry":1715753293,"keystrokes":41,"exit":1715754236,"elapsed_time_sec":943},{"entry":1715754294,"keystrokes":3,"exit":1715754332,"elapsed_time_sec":38},{"entry":1715754551,"keystrokes":0,"exit":1715754561,"elapsed_time_sec":10},{"entry":1715755101,"keystrokes":4,"exit":1715755109,"elapsed_time_sec":8},{"entry":1715755201,"keystrokes":49,"exit":1715755274,"elapsed_time_sec":73},{"entry":1715755275,"keystrokes":122,"exit":1715755322,"elapsed_time_sec":47},{"entry":1715755345,"keystrokes":98,"exit":1715755356,"elapsed_time_sec":11},{"entry":1715755384,"keystrokes":76,"exit":1715755391,"elapsed_time_sec":7},{"entry":1715755407,"keystrokes":12,"exit":1715755419,"elapsed_time_sec":12},{"entry":1715755461,"keystrokes":104,"exit":1715755473,"elapsed_time_sec":12},{"entry":1715755552,"keystrokes":121,"exit":1715755571,"elapsed_time_sec":19},{"entry":1715755573,"keystrokes":40,"exit":1715755580,"elapsed_time_sec":7}],"git_project_name":"RustIsBestLang","filetype":"cpp"},"\/home\/user\/RustIsBestLang\/src\/bin\/template.cc":{"visit_log":[{"entry":1715687700,"elapsed_time_sec":0,"keystrokes":2},{"entry":1715743062,"elapsed_time_sec":0,"keystrokes":2},{"entry":1715743413,"elapsed_time_sec":28,"exit":1715743441,"keystrokes":46},{"entry":1715750142,"keystrokes":74,"exit":1715750163,"elapsed_time_sec":21},{"entry":1715750811,"keystrokes":1,"elapsed_time_sec":0}],"git_project_name":"RustIsBestLang","filetype":"cpp"},"term:\/\/~\/RustIsBestLang\/src\/bin\/\/12189:ctext -i $(gcc -xc++ \/dev\/null -E -Wp,-v 2>&1 | sed -n \"s,^ ,,p\" | tr \"\\n\" \",\") < cf-1821d.cc > ctext_out.cc && clang++ -std=c++17 -DONLINE_JUDGE -Wl,-z,stack-size=268435456 -Wall -Ofast -g -fsanitize=address -fsanitize=undefined ctext_out.cc && .\/a.out < std.in":{"visit_log":[],"git_project_name":"RustIsBestLang","filetype":""},"\/home\/user\/.config\/waybar\/config.jsonc":{"visit_log":[{"entry":1715690989,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691109,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691130,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691158,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715691855,"keystrokes":12,"exit":1715691866,"elapsed_time_sec":11},{"entry":1715692086,"elapsed_time_sec":0,"keystrokes":0},{"entry":1715692103,"elapsed_time_sec":0,"keystrokes":0}],"git_project_name":"","filetype":"jsonc"}}} \ No newline at end of file diff --git a/waybar/config.jsonc b/waybar/config.jsonc new file mode 100644 index 0000000..f6fc13a --- /dev/null +++ b/waybar/config.jsonc @@ -0,0 +1,188 @@ +// -*- mode: jsonc -*- +{ + // "layer": "top", // Waybar at top layer + // "position": "bottom", // Waybar position (top|bottom|left|right) + "height": 30, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + "spacing": 4, // Gaps between modules (4px) + // Choose the order of the modules + "modules-left": [ + "hyprland/workspaces", + "custom/wofi" + ], + "modules-center": [ + "sway/window" + ], + "modules-right": [ + // "idle_inhibitor", + "pulseaudio", + "network", + "power-profiles-daemon", + "cpu", + "memory", + "temperature", + "backlight", + "keyboard-state", + "battery", + "clock", + "tray", + "custom/wlogout" + ], + // 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": "{icon}", + "format-icons": { + "locked": " ", + "unlocked": " " + } + }, + "sway/mode": { + "format": "{}" + }, + "sway/scratchpad": { + "format": "{icon} {count}", + "show-empty": false, + "format-icons": ["", ""], + "tooltip": true, + "tooltip-format": "{app}: {title}" + }, + "mpd": { + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {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": " ", + "on": " " + }, + "repeat-icons": { + "on": " " + }, + "single-icons": { + "on": "1 " + }, + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip-format": "MPD (connected)", + "tooltip-format-disconnected": "MPD (disconnected)" + }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + } + }, + "tray": { + // "icon-size": 21, + "spacing": 10 + }, + "clock": { + // "timezone": "America/New_York", + "tooltip-format": "{:%Y %B}\n{calendar}", + "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": ["", "", "", "", ""] + }, + "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": "{signalStrength}% ", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}", + "tooptip": true + }, + "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/wlogout": { + "format": "L", + "on-click": "wlogout" + } +} diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..c368623 --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,284 @@ +* { + border: none; + border-radius: 0px; + font-family: FiraCode Nerd Font; + font-size: 18px; + font-style: normal; + min-height: 0; + } + +window#waybar { + background: rgba(76,86,106,0.8); + color: #cdd6f4 +} + +#workspaces { + background: #2e3440; + margin: 5px 5px; + padding: 8px 5px; + border-radius: 16px; + border: solid 0px #cdd6f4; + font-weight: normal; + font-style: normal; +} +#workspaces button { + padding: 0px 5px; + margin: 0px 3px; + border-radius: 16px; + color: #d8dee9; + background-color: #6f7787; + transition: all 0.3s ease-in-out; +} +#workspaces button.active { + color: #cdd6f4; + background-color: #cdd6f4; + border-radius: 16px; + min-width: 50px; + background-size: 400% 400%; + transition: all 0.3s ease-in-out; +} +#workspaces button:hover { + background-color: #cdd6f4; + color: #cdd6f4; + border-radius: 16px; + min-width: 50px; + background-size: 400% 400%; +} + +#battery { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} +#clock { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} +#power-profiles-daemon { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} +#pulseaudio { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#network { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#backlight { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#keyboard-state { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#cpu { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#memory { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#disk { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#cava { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#language { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + +#windows { + padding: 0px 10px 0px 10px; + margin-left: 5px; + margin-right: 5px; +} + + +#cava{ + background-color: #2e3440; + color: #a3be8c; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} + +#custom-pacmanAlt{ + background-color: #2e3440; + color: #a3be8c; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} + +#tray { + background: #2e3440; + margin: 5px 5px 5px 5px; + border-radius: 16px; + padding: 0px 12px; + /*border-right: solid 1px #282738;*/ +} + +#clock { + color: #cdd6f4; + background-color: #2e3440; + border-radius: 24px 24px 24px 24px; + padding-left: 13px; + padding-right: 15px; + margin-right: 0px; + margin-left: 10px; + margin-top: 0px; + margin-bottom: 0px; + font-weight: bold; + /*border-left: solid 1px #282738;*/ +} + +#network { + color: #cdd6f4; + border-radius: 8px; + margin-right: 5px; + font-weight: bold; +} + +#pulseaudio { + color: #5e81ac; + background: #2e3440; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} + +#custom-launcher { + color: #cdd6f4; + background-color: #2e3440; + border-radius: 0px 24px 0px 0px; + margin: 0px 0px 0px 0px; + padding: 0 20px 0 13px; + /*border-right: solid 1px #282738;*/ + font-size: 20px; +} + +#custom-launcher button:hover { + background-color: #FB4934; + color: transparent; + border-radius: 8px; + margin-right: -5px; + margin-left: 10px; +} + +#custom-playerctl { + background: #2e3440; + padding: 0px 5px 0px 10px; + border-radius: 16px; + /*border-left: solid 1px #282738;*/ + /*border-right: solid 1px #282738;*/ + margin: 5px 7px; + font-weight: normal; + font-style: normal; + font-size: 16px; +} + +#custom-playerlabel { + background: transparent; + padding-left: 10px; + padding-right: 5px; + border-radius: 16px; + /*border-left: solid 1px #282738;*/ + /*border-right: solid 1px #282738;*/ + margin-top: 5px; + margin-bottom: 5px; + font-weight: normal; + font-style: normal; +} + +#window { + background: #2e3440; + padding-left: 15px; + padding-right: 15px; + border-radius: 16px; + /*border-left: solid 1px #282738;*/ + /*border-right: solid 1px #282738;*/ + margin-top: 5px; + margin-bottom: 5px; + font-weight: normal; + font-style: normal; +} + +#cpu { + background-color: #2e3440; + color: #bf616a; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} + +#memory { + background-color: #2e3440; + color: #b48ead; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} + +#disk { + background-color: #2e3440; + color: #d08770; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} + +#language { + background-color: #2e3440; + color: #a3be8c; + border-radius: 16px; + margin: 5px; + margin-left: 5px; + margin-right: 5px; + padding: 0px 10px 0px 10px; + font-weight: bold; +} diff --git a/waybar/style.css.bak b/waybar/style.css.bak new file mode 100644 index 0000000..7e83028 --- /dev/null +++ b/waybar/style.css.bak @@ -0,0 +1,327 @@ +* { + /* `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: 3px solid rgba(100, 114, 125, 0.5); + 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, +#cpu, +#memory, +#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: #2d3436; +} + +#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; +} diff --git a/wlogout/layout b/wlogout/layout new file mode 100644 index 0000000..13d32a0 --- /dev/null +++ b/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "swaylock -c 000000", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} +{ + "label" : "logout", + "action" : "loginctl terminate-user $USER", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/xournalpp/palette.gpl b/xournalpp/palette.gpl new file mode 100644 index 0000000..7aaaa4c --- /dev/null +++ b/xournalpp/palette.gpl @@ -0,0 +1,14 @@ +GIMP Palette +Name: Xournal Default Palette +# +0 0 0 Black +0 128 0 Green +0 192 255 Light Blue +0 255 0 Light Green +51 51 204 Blue +128 128 128 Gray +255 0 0 Red +255 0 255 Magenta +255 128 0 Orange +255 255 0 Yellow +255 255 255 White diff --git a/xournalpp/settings.xml b/xournalpp/settings.xml new file mode 100644 index 0000000..b95f415 --- /dev/null +++ b/xournalpp/settings.xml @@ -0,0 +1,268 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +