From b5ad2b6c395d8e3a779cc871694d90666191d303 Mon Sep 17 00:00:00 2001 From: Antoine Phan Date: Thu, 29 Feb 2024 00:41:07 -0500 Subject: [PATCH] Reset dotfiles using stow --- .config/alacritty/alacritty.toml | 10 +- .config/alacritty/themes | 1 + .config/autorandr/diagonal/config | 24 - .config/autorandr/diagonal/setup | 2 - .../autorandr/trottier_up/trottier_up/config | 22 - .../autorandr/trottier_up/trottier_up/setup | 2 - .config/dunst/dunstrc | 387 -------- .config/hypr/hyprland.conf | 74 +- .config/i3/config | 249 ----- .config/neofetch/config.conf | 864 ------------------ .config/nvim/init.vim | 40 - .config/nvim/lazy-lock.json | 30 - .config/picom.conf | 337 ------- .config/rofi/config.rasi | 31 - .config/rofi/karamel.rasi | 120 --- .config/sway/config | 210 ----- .config/swaylock/config | 45 - .config/tmux/tmux.conf | 3 - .config/wofi/style.css | 42 - .stow-local-ignore | 1 + .zshrc | 150 +++ README.md | 6 +- add-dotfiles.sh | 11 - listofconfigs.md | 15 - temp.sh | 1 - update.sh | 9 - 26 files changed, 209 insertions(+), 2477 deletions(-) create mode 160000 .config/alacritty/themes delete mode 100644 .config/autorandr/diagonal/config delete mode 100644 .config/autorandr/diagonal/setup delete mode 100644 .config/autorandr/trottier_up/trottier_up/config delete mode 100644 .config/autorandr/trottier_up/trottier_up/setup delete mode 100644 .config/dunst/dunstrc delete mode 100644 .config/i3/config delete mode 100644 .config/neofetch/config.conf delete mode 100644 .config/nvim/init.vim delete mode 100644 .config/nvim/lazy-lock.json delete mode 100644 .config/picom.conf delete mode 100644 .config/rofi/config.rasi delete mode 100644 .config/rofi/karamel.rasi delete mode 100644 .config/sway/config delete mode 100644 .config/swaylock/config delete mode 100644 .config/tmux/tmux.conf delete mode 100644 .config/wofi/style.css create mode 100644 .stow-local-ignore create mode 100644 .zshrc delete mode 100644 add-dotfiles.sh delete mode 100644 listofconfigs.md delete mode 100644 temp.sh delete mode 100644 update.sh diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 8c7b5a5..6d85f49 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -1,10 +1,14 @@ +import = [ + "~/.config/alacritty/themes/themes/dracula.toml" +] + [colors.cursor] cursor = "CellForeground" text = "CellBackground" -[colors.primary] -background = "#1d1f21" -foreground = "#c5c8c6" +# [colors.primary] +# background = "#1d1f21" +# foreground = "#c5c8c6" [cursor] blink_interval = 750 diff --git a/.config/alacritty/themes b/.config/alacritty/themes new file mode 160000 index 0000000..0587019 --- /dev/null +++ b/.config/alacritty/themes @@ -0,0 +1 @@ +Subproject commit 0587019bac748dfb5cc1b768f89c88ad9291b66b diff --git a/.config/autorandr/diagonal/config b/.config/autorandr/diagonal/config deleted file mode 100644 index fd5bdf5..0000000 --- a/.config/autorandr/diagonal/config +++ /dev/null @@ -1,24 +0,0 @@ -output HDMI-1 -crtc 0 -filter bilinear -mode 1920x1080 -pos 0x0 -primary -rate 60.00 -transform 0.871567,0.490250,0.000000,-0.490250,0.871567,941.000000,0.000000,0.000000,1.000000 -x-prop-aspect_ratio Automatic -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -output eDP-1 -crtc 1 -mode 1920x1080 -pos 2203x816 -rate 60.01 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect diff --git a/.config/autorandr/diagonal/setup b/.config/autorandr/diagonal/setup deleted file mode 100644 index 97d5ca3..0000000 --- a/.config/autorandr/diagonal/setup +++ /dev/null @@ -1,2 +0,0 @@ -HDMI-1 00ffffffffffff0010acc8a1423334311c20010380351e78ea5625ab534f9d25105054a54b00714f8180a9c0d1c081c081cf01010101023a801871382d40582c45000f282100001e000000ff003339334c4c51330a2020202020000000fc0044454c4c20503234323248450a000000fd00384c1e5311000a20202020202001cb020315b14a900504030201141f121365030c001000023a801871382d40582c45000f282100001e011d8018711c1620582c25000f282100009e011d007251d01e206e2855000f282100001e8c0ad08a20e02d10103e96000f2821000018000000000000000000000000000000000000000000000000000000000000000000005e -eDP-1 00ffffffffffff000dae0d15000000002a1c0104952213780328659759548e271e505400000001010101010101010101010101010101b43b804a713834405036680058c11000001acd27804a713834405036680058c11000001a00000000000000000000000000000000000000000002000c3dff0d3c7d1212267d0000000057 diff --git a/.config/autorandr/trottier_up/trottier_up/config b/.config/autorandr/trottier_up/trottier_up/config deleted file mode 100644 index 3e15844..0000000 --- a/.config/autorandr/trottier_up/trottier_up/config +++ /dev/null @@ -1,22 +0,0 @@ -output HDMI-1 -crtc 1 -mode 1920x1080 -pos 0x0 -rate 60.00 -x-prop-aspect_ratio Automatic -x-prop-audio auto -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -output eDP-1 -crtc 0 -mode 1920x1080 -pos 0x1080 -primary -rate 60.01 -x-prop-broadcast_rgb Automatic -x-prop-colorspace Default -x-prop-max_bpc 12 -x-prop-non_desktop 0 -x-prop-scaling_mode Full aspect diff --git a/.config/autorandr/trottier_up/trottier_up/setup b/.config/autorandr/trottier_up/trottier_up/setup deleted file mode 100644 index 0ebb2cf..0000000 --- a/.config/autorandr/trottier_up/trottier_up/setup +++ /dev/null @@ -1,2 +0,0 @@ -HDMI-1 00ffffffffffff0010acc8a1424430311c20010380351e78ea5625ab534f9d25105054a54b00714f8180a9c0d1c081c081cf01010101023a801871382d40582c45000f282100001e000000ff004248574d4c51330a2020202020000000fc0044454c4c20503234323248450a000000fd00384c1e5311000a202020202020017b020315b14a900504030201141f121365030c001000023a801871382d40582c45000f282100001e011d8018711c1620582c25000f282100009e011d007251d01e206e2855000f282100001e8c0ad08a20e02d10103e96000f2821000018000000000000000000000000000000000000000000000000000000000000000000005e -eDP-1 00ffffffffffff000dae0d15000000002a1c0104952213780328659759548e271e505400000001010101010101010101010101010101b43b804a713834405036680058c11000001acd27804a713834405036680058c11000001a00000000000000000000000000000000000000000002000c3dff0d3c7d1212267d0000000057 diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc deleted file mode 100644 index 3c132c2..0000000 --- a/.config/dunst/dunstrc +++ /dev/null @@ -1,387 +0,0 @@ -# See dunst(5) for all configuration options - -[global] - ### Display ### - - # Which monitor should the notifications be displayed on. - monitor = 0 - - # Display notification on focused monitor. Possible modes are: - # mouse: follow mouse pointer - # keyboard: follow window with keyboard focus - # none: don't follow anything - # - # "keyboard" needs a window manager that exports the - # _NET_ACTIVE_WINDOW property. - # This should be the case for almost all modern window managers. - # - # If this option is set to mouse or keyboard, the monitor option - # will be ignored. - follow = mouse - - ### Geometry ### - - # dynamic width from 0 to 300 - # width = (0, 300) - # constant width of 300 - width = 500 - - # The maximum height of a single notification, excluding the frame. - height = 240 - - # Position the notification in the top right corner - origin = top-center - - # Offset from the origin - offset = 0x12 - - # Scale factor. It is auto-detected if value is 0. - scale = 0 - - # Maximum number of notification (0 means no limit) - notification_limit = 0 - - ### Progress bar ### - - # Turn on the progess bar. It appears when a progress hint is passed with - # for example dunstify -h int:value:12 - progress_bar = true - - # Set the progress bar height. This includes the frame, so make sure - # it's at least twice as big as the frame width. - progress_bar_height = 10 - - # Set the frame width of the progress bar - progress_bar_frame_width = 1 - - # Set the minimum width for the progress bar - progress_bar_min_width = 150 - - # Set the maximum width for the progress bar - progress_bar_max_width = 300 - - # Corner radius for the progress bar. 0 disables rounded corners. - progress_bar_corner_radius = 12 - - # Corner radius for the icon image. - icon_corner_radius = 0 - - # Show how many messages are currently hidden (because of - # notification_limit). - indicate_hidden = yes - - # The transparency of the window. Range: [0; 100]. - # This option will only work if a compositing window manager is - # present (e.g. xcompmgr, compiz, etc.). (X11 only) - transparency = 90 - - # Draw a line of "separator_height" pixel height between two - # notifications. - # Set to 0 to disable. - # If gap_size is greater than 0, this setting will be ignored. - separator_height = 2 - - # Padding between text and separator. - padding = 8 - - # Horizontal padding. - horizontal_padding = 8 - - # Padding between text and icon. - text_icon_padding = 0 - - # Defines width in pixels of frame around the notification window. - # Set to 0 to disable. - frame_width = 2 - - # Defines color of the frame around the notification window. - frame_color = "#d7c7ebaa" - - # Size of gap to display between notifications - requires a compositor. - # If value is greater than 0, separator_height will be ignored and a border - # of size frame_width will be drawn around each notification instead. - # Click events on gaps do not currently propagate to applications below. - gap_size = 0 - - # Define a color for the separator. - # possible values are: - # * auto: dunst tries to find a color fitting to the background; - # * foreground: use the same color as the foreground; - # * frame: use the same color as the frame; - # * anything else will be interpreted as a X color. - separator_color = foreground - - # Sort messages by urgency. - sort = no - - # Don't remove messages, if the user is idle (no mouse or keyboard input) - # for longer than idle_threshold seconds. - # Set to 0 to disable. - # A client can set the 'transient' hint to bypass this. See the rules - # section for how to disable this if necessary - # idle_threshold = 120 - - ### Text ### - - font = Fira Code Nerd 12 - - # The spacing between lines. If the height is smaller than the - # font height, it will get raised to the font height. - line_height = 0 - - # Possible values are: - # full: Allow a small subset of html markup in notifications: - # bold - # italic - # strikethrough - # underline - # - # For a complete reference see - # . - # - # strip: This setting is provided for compatibility with some broken - # clients that send markup even though it's not enabled on the - # server. Dunst will try to strip the markup but the parsing is - # simplistic so using this option outside of matching rules for - # specific applications *IS GREATLY DISCOURAGED*. - # - # no: Disable markup parsing, incoming notifications will be treated as - # plain text. Dunst will not advertise that it has the body-markup - # capability if this is set as a global setting. - # - # It's important to note that markup inside the format option will be parsed - # regardless of what this is set to. - markup = full - - # The format of the message. Possible variables are: - # %a appname - # %s summary - # %b body - # %i iconname (including its path) - # %I iconname (without its path) - # %p progress value if set ([ 0%] to [100%]) or nothing - # %n progress value if set without any extra characters - # %% Literal % - # Markup is allowed - format = "%s%p" - - # Alignment of message text. - # Possible values are "left", "center" and "right". - alignment = left - - # Vertical alignment of message text and icon. - # Possible values are "top", "center" and "bottom". - vertical_alignment = center - - # Show age of message if message is older than show_age_threshold - # seconds. - # Set to -1 to disable. - show_age_threshold = 60 - - # Specify where to make an ellipsis in long lines. - # Possible values are "start", "middle" and "end". - ellipsize = middle - - # Ignore newlines '\n' in notifications. - ignore_newline = no - - # Stack together notifications with the same content - stack_duplicates = true - - # Hide the count of stacked notifications with the same content - hide_duplicate_count = false - - # Display indicators for URLs (U) and actions (A). - show_indicators = yes - - ### Icons ### - - # Recursive icon lookup. You can set a single theme, instead of having to - # define all lookup paths. - enable_recursive_icon_lookup = true - - # Set icon theme (only used for recursive icon lookup) - icon_theme = Adwaita - # You can also set multiple icon themes, with the leftmost one being used first. - # icon_theme = "Adwaita, breeze" - - # Align icons left/right/top/off - icon_position = left - - # Scale small icons up to this size, set to 0 to disable. Helpful - # for e.g. small files or high-dpi screens. In case of conflict, - # max_icon_size takes precedence over this. - min_icon_size = 32 - - # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 128 - - # Paths to default icons (only neccesary when not using recursive icon lookup) - icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ - - ### History ### - - # Should a notification popped up from history be sticky or timeout - # as if it would normally do. - sticky_history = no - - # Maximum amount of notifications kept in history - history_length = 20 - - ### Misc/Advanced ### - - # dmenu path. - dmenu = /usr/bin/dmenu -p dunst: - - # Browser for opening urls in context menu. - browser = /usr/bin/xdg-open - - # Always run rule-defined scripts, even if the notification is suppressed - always_run_script = true - - # Define the title of the windows spawned by dunst - title = Dunst - - # Define the class of the windows spawned by dunst - class = Dunst - - # Define the corner radius of the notification window - # in pixel size. If the radius is 0, you have no rounded - # corners. - # The radius will be automatically lowered if it exceeds half of the - # notification height to avoid clipping text and/or icons. - corner_radius = 12 - - # Ignore the dbus closeNotification message. - # Useful to enforce the timeout set by dunst configuration. Without this - # parameter, an application may close the notification sent before the - # user defined timeout. - ignore_dbusclose = true - - ### Wayland ### - # These settings are Wayland-specific. They have no effect when using X11 - - # Uncomment this if you want to let notications appear under fullscreen - # applications (default: overlay) - # layer = top - - # Set this to true to use X11 output on Wayland. - force_xwayland = false - - ### Legacy - - # Use the Xinerama extension instead of RandR for multi-monitor support. - # This setting is provided for compatibility with older nVidia drivers that - # do not support RandR and using it on systems that support RandR is highly - # discouraged. - # - # By enabling this setting dunst will not be able to detect when a monitor - # is connected or disconnected which might break follow mode if the screen - # layout changes. - force_xinerama = false - - ### mouse - - # Defines list of actions for each mouse event - # Possible values are: - # * none: Don't do anything. - # * do_action: Invoke the action determined by the action_name rule. If there is no - # such action, open the context menu. - # * open_url: If the notification has exactly one url, open it. If there are multiple - # ones, open the context menu. - # * close_current: Close current notification. - # * close_all: Close all notifications. - # * context: Open context menu for the notification. - # * context_all: Open context menu for all notifications. - # These values can be strung together for each mouse event, and - # will be executed in sequence. - mouse_left_click = close_current - mouse_middle_click = do_action, close_current - mouse_right_click = close_all - -# Experimental features that may or may not work correctly. Do not expect them -# to have a consistent behaviour across releases. -[experimental] - # Calculate the dpi to use on a per-monitor basis. - # If this setting is enabled the Xft.dpi value will be ignored and instead - # dunst will attempt to calculate an appropriate dpi value for each monitor - # using the resolution and physical size. This might be useful in setups - # where there are multiple screens with very different dpi values. - per_monitor_dpi = false - - -[urgency_low] - # IMPORTANT: colors have to be defined in quotation marks. - # Otherwise the "#" and following would be interpreted as a comment. - background = "#222222" - foreground = "#888888" - timeout = 1 - # Icon for notifications with low urgency, uncomment to enable - #default_icon = /path/to/icon - -[urgency_normal] - background = "#3b2e94ee" - foreground = "#ffffff" - timeout = 1 - # Icon for notifications with normal urgency, uncomment to enable - #default_icon = /path/to/icon - -[urgency_critical] - background = "#900000" - foreground = "#ffffff" - frame_color = "#ff0000" - timeout = 0 - # Icon for notifications with critical urgency, uncomment to enable - #default_icon = /path/to/icon - -# Every section that isn't one of the above is interpreted as a rules to -# override settings for certain messages. -# -# Messages can be matched by -# appname (discouraged, see desktop_entry) -# body -# category -# desktop_entry -# icon -# match_transient -# msg_urgency -# stack_tag -# summary -# -# and you can override the -# background -# foreground -# format -# frame_color -# fullscreen -# new_icon -# set_stack_tag -# set_transient -# set_category -# timeout -# urgency -# icon_position -# skip_display -# history_ignore -# action_name -# word_wrap -# ellipsize -# alignment -# hide_text -# -# Shell-like globbing will get expanded. -# -# Instead of the appname filter, it's recommended to use the desktop_entry filter. -# GLib based applications export their desktop-entry name. In comparison to the appname, -# the desktop-entry won't get localized. -# -# SCRIPTING -# You can specify a script that gets run when the rule matches by -# setting the "script" option. -# The script will be called as follows: -# script appname summary body icon urgency -# where urgency can be "LOW", "NORMAL" or "CRITICAL". -# -# NOTE: It might be helpful to run dunst -print in a terminal in order -# to find fitting options for rules. - diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 33682ed..6b8bb31 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,15 +1,19 @@ -# See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=eDP-1,1920x1080@60,auto,1 -monitor=,highrr,auto,1 +# https://wiki.hyprland.org/Configuring/Monitors\ +monitor=eDP-1,1920x1080@60,0x0,1 + +# - Home monitor settings - +monitor=,1920x1080@144,auto,1 + +# monitor = , highres, 0x-1080, 1 +# Enabling mirror +# monitor=HDMI-A-1, 1920x1080@60, 0x0, 1, mirror, eDP-1 # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch exec-once = waybar exec-once = hyprpaper - -# Source a file (multi-file configs) -# source = ~/.config/hypr/myColors.conf +exec-once = ibus-daemon # Set programs that you use $terminal = alacritty @@ -27,7 +31,8 @@ input { kb_model = kb_options = kb_rules = - + + numlock_by_default = true follow_mouse = 1 touchpad { @@ -41,9 +46,9 @@ general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 - gaps_out = 20 + gaps_out = 8 border_size = 2 - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.active_border = rgba(33ccffee) rgba(00ff99aa) 20deg col.inactive_border = rgba(595959aa) layout = dwindle @@ -55,17 +60,15 @@ general { decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more - rounding = 10 + rounding = 12 blur { enabled = true - size = 3 + size = 5 passes = 1 } - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 + drop_shadow = no col.shadow = rgba(1a1a1aee) } @@ -74,11 +77,12 @@ animations { # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + # bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + bezier = myBezier, 0.2, 0.87, 0.3, 1.0 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% - animation = border, 1, 10, default + animation = border, 1, 7, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default @@ -118,7 +122,19 @@ device:epic-mouse-v1 { # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. +windowrulev2 = nofullscreenrequest, class:* +# Floating windows by default +windowrule = float, Helvum +windowrulev2 = float, title:(Yoshimi) +windowrulev2 = float, title:(Bluetooth) +windowrulev2 = float, class:(pavucontrol) +windowrulev2 = float, title:(ViberPC) + +# Tiling windows by force +windowrulev2 = tile, class:(Vivaldi), title:(Vivaldi) +windowrulev2 = tile, title:(WPS) +windowrulev2 = tile, title:(Wine) # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER @@ -126,7 +142,7 @@ $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, RETURN, exec, $terminal bind = $mainMod_SHIFT, Q, killactive, -bind = $mainMod_SHIFT, M, exit, +bind = $mainMod_SHIFT, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, D, exec, $menu @@ -179,8 +195,12 @@ bind = $mainMod, G, togglespecialworkspace, magic bind = $mainMod SHIFT, G, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, r+1 -bind = $mainMod, mouse_up, workspace, r-1 +bind = $mainMod, mouse_down, workspace, m-1 +bind = $mainMod, mouse_up , workspace, m+1 + +# Scroll to create new workspace +bind = $mainMod SHIFT, mouse_down, workspace, r-1 +bind = $mainMod SHIFT, mouse_up , workspace, r+1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow @@ -199,8 +219,8 @@ binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 6%- binde = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle # Binding Brightness Controls -binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+ -binde = , XF86MonBrightnessDown, exec, brightnessctl set 8%- +binde = , XF86MonBrightnessUp, exec, brightnessctl set 3%+ -e -q +binde = , XF86MonBrightnessDown, exec, brightnessctl set 2%- -e -q bind = $mainMod, Print, exec, gnome-screenshot -i @@ -212,11 +232,11 @@ bind = $mainMod, L, exec, swaylock bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy -t image/png ## Wholescreen, save to $HOME/Screenshots/ - bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png + # NVIDIA -env = LIBVA_DRIVER_NAME,nvidia -env = XDG_SESSION_TYPE,wayland -env = GBM_BACKEND,nvidia-drm -env = __GLX_VENDOR_LIBRARY_NAME,nvidia -env = WLR_NO_HARDWARE_CURSORS,1 +#env = LIBVA_DRIVER_NAME,nvidia +#env = XDG_SESSION_TYPE,wayland +#env = GBM_BACKEND,nvidia-drm +#env = __GLX_VENDOR_LIBRARY_NAME,nvidia +#env = WLR_NO_HARDWARE_CURSORS,1 diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index 8c82f87..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,249 +0,0 @@ -# i3 config -# @author Antoine Phan @notkaramel - -# mod key -set $mod Mod4 - -# transparency -exec --no-startup-id picom -b -# --shadow --shadow-radius=60 --shadow-opacity=0.2 --fade-in-step=0.8 & -# --inactive-opacity=0.9 -# Font for window titles -font pango:Fira Code 10 - -# Keymap -exec setxkbmap -layout us -variant altgr-intl - -# Pipewire: set volume to sink and source -set $refresh_audio pkill -SIGRTMIN+1 i3blocks -bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 10%+ && $refresh_audio -bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 10%- && $refresh_audio -bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_audio - -# bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status - -# brightness -set $refresh_brightness pkill -SIGRTMIN+2 i3blocks -bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ && $refresh_brightness -bindsym XF86MonBrightnessDown exec brightnessctl set 8%- && $refresh_brightness - -# media player controls -bindsym XF86AudioPlay exec playerctl play-pause -# bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -# personal media shortcut cuz it's closer to my left hands -bindsym $mod+z exec playerctl play-pause -bindsym $mod+x exec playerctl next - -# mouse+$mod -> drag windows -floating_modifier $mod - -# move tiling windows via drag & drop by left-clicking into the title bar, or left-clicking anywhere into the window while holding the floating modifier. -# tiling_drag modifier titlebar - -# start a terminal -bindsym $mod+Return exec alacritty - -# kill focused window -bindsym $mod+Shift+q kill - -# Menu|Program launcher -# bindsym $mod+d exec --no-startup-id dmenu_run -bindsym $mod+d exec --no-startup-id rofi -show combi -bindsym $mod+period exec "rofi -show emoji" -bindsym $mod+Tab exec rofi -show window -bindsym $mod+c exec rofi -show calc - -# -- Lock screen -- -bindsym $mod+Shift+l exec notify-send 'Rendering new lockscreen!' && betterlockscreen -u ~/.wallpaper/ --fx dim && betterlockscreen -l dim -bindsym $mod+l exec betterlockscreen -l dim - -# -- Screenshot -- -bindsym $mod+Shift+s exec "maim -s | xclip -selection clipboard -t image/png && notify-send 'Screenshot Captured!'" -# interactive screenshot by pressing printscreen -#bindsym Print exec gnome-screenshot -i -#crop-area screenshot by pressing Mod + printscreen -bindsym $mod+Print exec gnome-screenshot -a - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -# bindsym $mod+h split h - -# split in vertical orientation -# bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+t layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -#bindsym $mod+Shift+space floating toggle -bindsym $mod+v floating toggle - -# change focus between tiling / floating windows -bindsym $mod+Shift+v focus mode_toggle - -# focus the parent container -# bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -# --- Coloring --- -# class border backgr. text indicator child_border -client.focused #4c7899 #067A67 #ffffff #2e9ef4 #285577 -client.focused_inactive #333333 #161C1A #ffffff #484e50 #5f676a -client.unfocused #333333 #222222 #888888 #292d2e #222222 -client.urgent #2f343a #900000 #ffffff #900000 #900000 -client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - -client.background #ffffff - -# --- Gaps --- -# `inner` is like padding in CSS -# gaps inner [px] -gaps inner 10 - -# `outer` is like margin in CSS -# gaps outer|horizontal|vertical|top|left|bottom|right [px] - -# smart_gaps on|off|inverse_outer -smart_gaps inverse_outer - -# borders -default_border pixel 0 -default_floating_border pixel 0 -smart_borders on -# for_window [class="^.*"] border pixel 0 - -# --- ZOOM --- -# for_window [class="zoom"] floating enable -for_window [class="(.*join\?action\=join.*|.*zoom.*)"] floating enable -for_window [class="(.*join\?action\=join.*|.*zoom.*)" title="Zoom - Licensed Account"] floating disable -for_window [class="(.*join\?action\=join.*|.*zoom.*)" title="Zoom Meeting"] floating disable - -# --- Display settings --- -exec --no-startup-id autorandr --change -exec --no-startup-id feh --bg-fill --randomize $HOME/.wallpaper/* - -# Caps Lock & Num Lock modes -# Define names for default workspaces for which we configure key bindings later on. -bindsym --release Caps_Lock exec pkill -SIGRTMIN+10 i3blocks -bindsym --release Num_Lock exec pkill -SIGRTMIN+10 i3blocks - -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace number $ws1 -bindsym $mod+2 workspace number $ws2 -bindsym $mod+3 workspace number $ws3 -bindsym $mod+4 workspace number $ws4 -bindsym $mod+5 workspace number $ws5 -bindsym $mod+6 workspace number $ws6 -bindsym $mod+7 workspace number $ws7 -bindsym $mod+8 workspace number $ws8 -bindsym $mod+9 workspace number $ws9 -bindsym $mod+0 workspace number $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace number $ws1 -bindsym $mod+Shift+2 move container to workspace number $ws2 -bindsym $mod+Shift+3 move container to workspace number $ws3 -bindsym $mod+Shift+4 move container to workspace number $ws4 -bindsym $mod+Shift+5 move container to workspace number $ws5 -bindsym $mod+Shift+6 move container to workspace number $ws6 -bindsym $mod+Shift+7 move container to workspace number $ws7 -bindsym $mod+Shift+8 move container to workspace number $ws8 -bindsym $mod+Shift+9 move container to workspace number $ws9 -bindsym $mod+Shift+0 move container to workspace number $ws10 - -for_window [title="Blueberry"] floating enable -for_window [title="Yoshimi"] floating enable -# assign [title="Spotify"] → $ws10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit' -B 'SHUTDOWN' 'shutdown now' -B 'Reboot' 'reboot'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} - -bindsym $mod+r mode "resize" - -# toggle showing bar -bindsym $mod+b bar mode toggle -# colors for the bars -set $white #ffffff -set $black #242424 -set $red #FFADAD -set $orange #F7D9C4 -set $yellow #FAFF81 -set $blue #C6DEF1 -set $mint #A0C49A -set $none ##00000000 - -bar { - status_command i3blocks - i3bar_command i3bar --transparency - # output primary - position top - tray_output primary - font pango:FiraCode Nerd Font Semibold 11 - separator_symbol "│" - padding 6 6 0 0 - workspace_min_width 32 - - colors { - focused_background $blackbb - background $blackee - separator $blue33 - - # colorclass - focused_workspace $yellow $yellow $blackaa - active_workspace $blue $blue $black - inactive_workspace $mint $mintbb $black - urgent_workspace $orange $orange $black - binding_mode $orange $orange $black - } -} diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf deleted file mode 100644 index e8f640e..0000000 --- a/.config/neofetch/config.conf +++ /dev/null @@ -1,864 +0,0 @@ -# See this wiki page for more info: -# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info -print_info() { - info title - info underline - - info "OS" distro - info "Host" model - info "Kernel" kernel - # info "Uptime" uptime - info "Packages" packages - info "Shell" shell - info "Resolution" resolution - info "Desktop Env" de - info "Window Manager" wm - info "WM Theme" wm_theme - # info "Theme" theme - info "Icons" icons - info "Terminal" term - info "Terminal Font" term_font - info "CPU" cpu - info "GPU" gpu - info "RAM Usage" memory - - info "GPU Driver" gpu_driver # Linux/macOS only - info "CPU Usage" cpu_usage - info "Disk" disk - # info "Battery" battery - # info "Font" font - [[ "$player" ]] && prin "Music Player" "$player" - info "Song" song - info "Local IP" local_ip - # info "Public IP" public_ip - # info "Users" users - # info "Locale" locale # This only works on glibc systems. - - info cols -} - -# Title - - -# Hide/Show Fully qualified domain name. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --title_fqdn -title_fqdn="off" - - -# Kernel - - -# Shorten the output of the kernel function. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --kernel_shorthand -# Supports: Everything except *BSDs (except PacBSD and PC-BSD) -# -# Example: -# on: '4.8.9-1-ARCH' -# off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="off" - - -# Distro - - -# Shorten the output of the distro function -# -# Default: 'off' -# Values: 'on', 'tiny', 'off' -# Flag: --distro_shorthand -# Supports: Everything except Windows and Haiku -distro_shorthand="on" - -# Show/Hide OS Architecture. -# Show 'x86_64', 'x86' and etc in 'Distro:' output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --os_arch -# -# Example: -# on: 'Arch Linux x86_64' -# off: 'Arch Linux' -os_arch="on" - - -# Uptime - - -# Shorten the output of the uptime function -# -# Default: 'on' -# Values: 'on', 'tiny', 'off' -# Flag: --uptime_shorthand -# -# Example: -# on: '2 days, 10 hours, 3 mins' -# tiny: '2d 10h 3m' -# off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="on" - - -# Memory - - -# Show memory pecentage in output. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --memory_percent -# -# Example: -# on: '1801MiB / 7881MiB (22%)' -# off: '1801MiB / 7881MiB' -memory_percent="off" - -# Change memory output unit. -# -# Default: 'mib' -# Values: 'kib', 'mib', 'gib' -# Flag: --memory_unit -# -# Example: -# kib '1020928KiB / 7117824KiB' -# mib '1042MiB / 6951MiB' -# gib: ' 0.98GiB / 6.79GiB' -memory_unit="gib" - - -# Packages - - -# Show/Hide Package Manager names. -# -# Default: 'tiny' -# Values: 'on', 'tiny' 'off' -# Flag: --package_managers -# -# Example: -# on: '998 (pacman), 8 (flatpak), 4 (snap)' -# tiny: '908 (pacman, flatpak, snap)' -# off: '908' -package_managers="on" - - -# Shell - - -# Show the path to $SHELL -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --shell_path -# -# Example: -# on: '/bin/bash' -# off: 'bash' -shell_path="on" - -# Show $SHELL version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --shell_version -# -# Example: -# on: 'bash 4.4.5' -# off: 'bash' -shell_version="on" - - -# CPU - - -# CPU speed type -# -# Default: 'bios_limit' -# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. -# Flag: --speed_type -# Supports: Linux with 'cpufreq' -# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. -speed_type="scaling_driver" - -# CPU speed shorthand -# -# Default: 'off' -# Values: 'on', 'off'. -# Flag: --speed_shorthand -# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz -# -# Example: -# on: 'i7-6500U (4) @ 3.1GHz' -# off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="on" - -# Enable/Disable CPU brand in output. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_brand -# -# Example: -# on: 'Intel i7-6500U' -# off: 'i7-6500U (4)' -cpu_brand="on" - -# CPU Speed -# Hide/Show CPU speed. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --cpu_speed -# -# Example: -# on: 'Intel i7-6500U (4) @ 3.1GHz' -# off: 'Intel i7-6500U (4)' -cpu_speed="on" - -# CPU Cores -# Display CPU cores in output -# -# Default: 'logical' -# Values: 'logical', 'physical', 'off' -# Flag: --cpu_cores -# Support: 'physical' doesn't work on BSD. -# -# Example: -# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) -# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) -# off: 'Intel i7-6500U @ 3.1GHz' -cpu_cores="logical" - -# CPU Temperature -# Hide/Show CPU temperature. -# Note the temperature is added to the regular CPU function. -# -# Default: 'off' -# Values: 'C', 'F', 'off' -# Flag: --cpu_temp -# Supports: Linux, BSD -# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable -# coretemp kernel module. This only supports newer Intel processors. -# -# Example: -# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' -# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' -# off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="C" - - -# GPU - - -# Enable/Disable GPU Brand -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gpu_brand -# -# Example: -# on: 'AMD HD 7950' -# off: 'HD 7950' -gpu_brand="on" - -# Which GPU to display -# -# Default: 'all' -# Values: 'all', 'dedicated', 'integrated' -# Flag: --gpu_type -# Supports: Linux -# -# Example: -# all: -# GPU1: AMD HD 7950 -# GPU2: Intel Integrated Graphics -# -# dedicated: -# GPU1: AMD HD 7950 -# -# integrated: -# GPU1: Intel Integrated Graphics -gpu_type="all" - - -# Resolution - - -# Display refresh rate next to each monitor -# Default: 'off' -# Values: 'on', 'off' -# Flag: --refresh_rate -# Supports: Doesn't work on Windows. -# -# Example: -# on: '1920x1080 @ 60Hz' -# off: '1920x1080' -refresh_rate="on" - - -# Gtk Theme / Icons / Font - - -# Shorten output of GTK Theme / Icons / Font -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --gtk_shorthand -# -# Example: -# on: 'Numix, Adwaita' -# off: 'Numix [GTK2], Adwaita [GTK3]' -gtk_shorthand="off" - - -# Enable/Disable gtk2 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk2 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Adwaita [GTK3]' -gtk2="off" - -# Enable/Disable gtk3 Theme / Icons / Font -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --gtk3 -# -# Example: -# on: 'Numix [GTK2], Adwaita [GTK3]' -# off: 'Numix [GTK2]' -gtk3="on" - - -# IP Address - - -# Website to ping for the public IP -# -# Default: 'http://ident.me' -# Values: 'url' -# Flag: --ip_host -public_ip_host="http://ident.me" - -# Public IP timeout. -# -# Default: '2' -# Values: 'int' -# Flag: --ip_timeout -public_ip_timeout=2 - - -# Desktop Environment - - -# Show Desktop Environment version -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --de_version -de_version="on" - - -# Disk - - -# Which disks to display. -# The values can be any /dev/sdXX, mount point or directory. -# NOTE: By default we only show the disk info for '/'. -# -# Default: '/' -# Values: '/', '/dev/sdXX', '/path/to/drive'. -# Flag: --disk_show -# -# Example: -# disk_show=('/' '/dev/sdb1'): -# 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 823G / 893G (93%)' -# -# disk_show=('/'): -# 'Disk (/): 74G / 118G (66%)' -# -disk_show=('/' '/dev/nvme0n1p6') - -# Disk subtitle. -# What to append to the Disk subtitle. -# -# Default: 'mount' -# Values: 'mount', 'name', 'dir', 'none' -# Flag: --disk_subtitle -# -# Example: -# name: 'Disk (/dev/sda1): 74G / 118G (66%)' -# 'Disk (/dev/sdb2): 74G / 118G (66%)' -# -# mount: 'Disk (/): 74G / 118G (66%)' -# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' -# 'Disk (/mnt/Videos): 74G / 118G (66%)' -# -# dir: 'Disk (/): 74G / 118G (66%)' -# 'Disk (Local Disk): 74G / 118G (66%)' -# 'Disk (Videos): 74G / 118G (66%)' -# -# none: 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -# 'Disk: 74G / 118G (66%)' -disk_subtitle="dir" - -# Disk percent. -# Show/Hide disk percent. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --disk_percent -# -# Example: -# on: 'Disk (/): 74G / 118G (66%)' -# off: 'Disk (/): 74G / 118G' -disk_percent="on" - - -# Song - - -# Manually specify a music player. -# -# Default: 'auto' -# Values: 'auto', 'player-name' -# Flag: --music_player -# -# Available values for 'player-name': -# -# amarok -# audacious -# banshee -# bluemindo -# clementine -# cmus -# deadbeef -# deepin-music -# dragon -# elisa -# exaile -# gnome-music -# gmusicbrowser -# gogglesmm -# guayadeque -# io.elementary.music -# iTunes -# juk -# lollypop -# mocp -# mopidy -# mpd -# muine -# netease-cloud-music -# olivia -# playerctl -# pogo -# pragha -# qmmp -# quodlibet -# rhythmbox -# sayonara -# smplayer -# spotify -# strawberry -# tauonmb -# tomahawk -# vlc -# xmms2d -# xnoise -# yarock -music_player="auto" - -# Format to display song information. -# -# Default: '%artist% - %album% - %title%' -# Values: '%artist%', '%album%', '%title%' -# Flag: --song_format -# -# Example: -# default: 'Song: Jet - Get Born - Sgt Major' -song_format="%artist% - %title% [%album%]" - -# Print the Artist, Album and Title on separate lines -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --song_shorthand -# -# Example: -# on: 'Artist: The Fratellis' -# 'Album: Costello Music' -# 'Song: Chelsea Dagger' -# -# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' -song_shorthand="off" - -# 'mpc' arguments (specify a host, password etc). -# -# Default: '' -# Example: mpc_args=(-h HOST -P PASSWORD) -mpc_args=() - - -# Text Colors - - -# Text Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --colors -# -# Each number represents a different part of the text in -# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' -# -# Example: -# colors=(distro) - Text is colored based on Distro colors. -# colors=(4 6 1 8 8 6) - Text is colored in the order above. -colors=(distro) - - -# Text Options - - -# Toggle bold text -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bold -bold="on" - -# Enable/Disable Underline -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --underline -underline_enabled="on" - -# Underline character -# -# Default: '-' -# Values: 'string' -# Flag: --underline_char -underline_char="-" - - -# Info Separator -# Replace the default separator with the specified string. -# -# Default: ':' -# Flag: --separator -# -# Example: -# separator="->": 'Shell-> bash' -# separator=" =": 'WM = dwm' -separator=":" - - -# Color Blocks - - -# Color block range -# The range of colors to print. -# -# Default: '0', '15' -# Values: 'num' -# Flag: --block_range -# -# Example: -# -# Display colors 0-7 in the blocks. (8 colors) -# neofetch --block_range 0 7 -# -# Display colors 0-15 in the blocks. (16 colors) -# neofetch --block_range 0 15 -block_range=(0 15) - -# Toggle color blocks -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --color_blocks -color_blocks="on" - -# Color block width in spaces -# -# Default: '3' -# Values: 'num' -# Flag: --block_width -block_width=3 - -# Color block height in lines -# -# Default: '1' -# Values: 'num' -# Flag: --block_height -block_height=1 - -# Color Alignment -# -# Default: 'auto' -# Values: 'auto', 'num' -# Flag: --col_offset -# -# Number specifies how far from the left side of the terminal (in spaces) to -# begin printing the columns, in case you want to e.g. center them under your -# text. -# Example: -# col_offset="auto" - Default behavior of neofetch -# col_offset=7 - Leave 7 spaces then print the colors -col_offset="auto" - -# Progress Bars - - -# Bar characters -# -# Default: '-', '=' -# Values: 'string', 'string' -# Flag: --bar_char -# -# Example: -# neofetch --bar_char 'elapsed' 'total' -# neofetch --bar_char '-' '=' -bar_char_elapsed="-" -bar_char_total="=" - -# Toggle Bar border -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --bar_border -bar_border="on" - -# Progress bar length in spaces -# Number of chars long to make the progress bars. -# -# Default: '15' -# Values: 'num' -# Flag: --bar_length -bar_length=15 - -# Progress bar colors -# When set to distro, uses your distro's logo colors. -# -# Default: 'distro', 'distro' -# Values: 'distro', 'num' -# Flag: --bar_colors -# -# Example: -# neofetch --bar_colors 3 4 -# neofetch --bar_colors distro 5 -bar_color_elapsed="distro" -bar_color_total="distro" - - -# Info display -# Display a bar with the info. -# -# Default: 'off' -# Values: 'bar', 'infobar', 'barinfo', 'off' -# Flags: --cpu_display -# --memory_display -# --battery_display -# --disk_display -# -# Example: -# bar: '[---=======]' -# infobar: 'info [---=======]' -# barinfo: '[---=======] info' -# off: 'info' -cpu_display="on" -memory_display="off" -battery_display="off" -disk_display="off" - - -# Backend Settings - - -# Image backend. -# -# Default: 'ascii' -# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' -# Flag: --backend -image_backend="ascii" - -# Image Source -# -# Which image or ascii file to display. -# -# Default: 'auto' -# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' -# Flag: --source -# -# NOTE: 'auto' will pick the best image source for whatever image backend is used. -# In ascii mode, distro ascii art will be used and in an image mode, your -# wallpaper will be used. -image_source="auto" - - -# Ascii Options - - -# Ascii distro -# Which distro's ascii art to display. -# -# Default: 'auto' -# Values: 'auto', 'distro_name' -# Flag: --ascii_distro -# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", -# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, -# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, -# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, -# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, -# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, -# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, -# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, -# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, -# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, -# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, -# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, -# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, -# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, -# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, -# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, -# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, -# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, -# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, -# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, -# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, -# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, -# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, -# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, -# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, -# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, -# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, -# and IRIX have ascii logos -# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. -# Use '{distro name}_old' to use the old logos. -# NOTE: Ubuntu has flavor variants. -# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, -# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. -# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, -# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, -# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, -# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, -# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, -# postmarketOS, and Void have a smaller logo variant. -# Use '{distro name}_small' to use the small variants. -ascii_distro="arch" - -# Ascii Colors -# -# Default: 'distro' -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Flag: --ascii_colors -# -# Example: -# ascii_colors=(distro) - Ascii is colored based on Distro colors. -# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(distro) - -# Bold ascii logo -# Whether or not to bold the ascii logo. -# -# Default: 'on' -# Values: 'on', 'off' -# Flag: --ascii_bold -ascii_bold="on" - - -# Image Options - - -# Image loop -# Setting this to on will make neofetch redraw the image constantly until -# Ctrl+C is pressed. This fixes display issues in some terminal emulators. -# -# Default: 'off' -# Values: 'on', 'off' -# Flag: --loop -image_loop="off" - -# Thumbnail directory -# -# Default: '~/.cache/thumbnails/neofetch' -# Values: 'dir' -thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" - -# Crop mode -# -# Default: 'normal' -# Values: 'normal', 'fit', 'fill' -# Flag: --crop_mode -# -# See this wiki page to learn about the fit and fill options. -# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F -crop_mode="normal" - -# Crop offset -# Note: Only affects 'normal' crop mode. -# -# Default: 'center' -# Values: 'northwest', 'north', 'northeast', 'west', 'center' -# 'east', 'southwest', 'south', 'southeast' -# Flag: --crop_offset -crop_offset="center" - -# Image size -# The image is half the terminal width by default. -# -# Default: 'auto' -# Values: 'auto', '00px', '00%', 'none' -# Flags: --image_size -# --size -image_size="auto" - -# Gap between image and text -# -# Default: '3' -# Values: 'num', '-num' -# Flag: --gap -gap=3 - -# Image offsets -# Only works with the w3m backend. -# -# Default: '0' -# Values: 'px' -# Flags: --xoffset -# --yoffset -yoffset=0 -xoffset=0 - -# Image background color -# Only works with the w3m backend. -# -# Default: '' -# Values: 'color', 'blue' -# Flag: --bg_color -background_color= - - -# Misc Options - -# Stdout mode -# Turn off all colors and disables image backend (ASCII/Image). -# Useful for piping into another command. -# Default: 'off' -# Values: 'on', 'off' -stdout="off" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim deleted file mode 100644 index a5caf22..0000000 --- a/.config/nvim/init.vim +++ /dev/null @@ -1,40 +0,0 @@ -set number -filetype plugin indent on -set tabstop=2 -set shiftwidth=2 -set expandtab -set noshowmode - -" Normal mode remap -nnoremap gk -nnoremap gj - -" Visual mode remap -xnoremap gk -xnoremap gj - -" Insert mode remap -" https://vimdoc.sourceforge.net/htmldoc/insert.html#Insert -" Using CTRL-O for temporary move to Normal mode -inoremap gk -inoremap gj - -inoremap -" Line Break -set linebreak - -call plug#begin() -Plug 'tpope/vim-sensible' -Plug 'ap/vim-css-color' -Plug 'itchyny/lightline.vim' -Plug 'preservim/tagbar' -Plug 'preservim/nerdtree' -Plug 'tpope/vim-surround' -Plug 'airblade/vim-gitgutter' -Plug 'preservim/nerdtree' -Plug 'ryanoasis/vim-devicons' - -call plug#end() - -map :NERDTreeToggle - diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json deleted file mode 100644 index 9d66499..0000000 --- a/.config/nvim/lazy-lock.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "Comment.nvim": { "branch": "master", "commit": "a89339ffbee677ab0521a483b6dac7e2e67c907e" }, - "LuaSnip": { "branch": "master", "commit": "8d6c0a93dec34900577ba725e91c44b8d3ca1f45" }, - "base46": { "branch": "v2.0", "commit": "82b2e48ca4a858ff08860f868be779812321ee76" }, - "better-escape.nvim": { "branch": "master", "commit": "426d29708064d5b1bfbb040424651c92af1f3f64" }, - "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" }, - "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, - "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, - "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, - "extensions": { "branch": "v2.0", "commit": "f76b8460d2f960c1c5c2af40845ead33c725bbf7" }, - "friendly-snippets": { "branch": "main", "commit": "b1b78a6433268fc172adb5a843e165035e83861e" }, - "gitsigns.nvim": { "branch": "main", "commit": "7dfe4be94b4f84a9931098f0f0f618d055e50bd5" }, - "indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" }, - "lazy.nvim": { "branch": "main", "commit": "903f0fe542fc35b74f3c09494f9c175346dfa76d" }, - "mason.nvim": { "branch": "main", "commit": "579d4bd178f4aae76a4f4dc2ea34bf5e8fa6231b" }, - "null-ls.nvim": { "branch": "main", "commit": "25e3a4528179de903df85b4a8275f267b345b3b9" }, - "nvim-autopairs": { "branch": "master", "commit": "7566a86f44bb72ba2b1a609f528a27d93241502d" }, - "nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" }, - "nvim-colorizer.lua": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" }, - "nvim-lspconfig": { "branch": "master", "commit": "cf95480e876ef7699bf08a1d02aa0ae3f4d5f353" }, - "nvim-tree.lua": { "branch": "master", "commit": "967865cdb7ac56046af01a0cd79f215bda5f59aa" }, - "nvim-treesitter": { "branch": "master", "commit": "57d1a5843742a180be9a3a1d1c652a7d22709691" }, - "nvim-web-devicons": { "branch": "master", "commit": "4ec26d67d419c12a4abaea02f1b6c57b40c08d7e" }, - "nvterm": { "branch": "main", "commit": "29a70ef608a8cc5db3a5fc300d39a39d1a44a863" }, - "plenary.nvim": { "branch": "master", "commit": "9ac3e9541bbabd9d73663d757e4fe48a675bb054" }, - "telescope.nvim": { "branch": "master", "commit": "6258d50b09f9ae087317e392efe7c05a7323492d" }, - "ui": { "branch": "v2.0", "commit": "84d793ec7446bc688d8336eebed5bdd640a8b032" }, - "which-key.nvim": { "branch": "main", "commit": "94cb020ff33a1e0e22fac1c41663d2c439741f17" } -} \ No newline at end of file diff --git a/.config/picom.conf b/.config/picom.conf deleted file mode 100644 index 8584f8f..0000000 --- a/.config/picom.conf +++ /dev/null @@ -1,337 +0,0 @@ -# SHADOW - -# shadow = false -shadow = false; -shadow-radius = 50; -shadow-opacity = 0.3 - -# in pixel -shadow-offset-x = -7; -shadow-offset-y = -7; - -# Shadow RGB (0.0 - 1.0, default: 0) -# shadow-red = 0 -# shadow-green = 0 -# shadow-blue = 0 - -# Shadow color: default #000000 -# shadow-color = "#000000" - -# Specify a list of conditions of windows that should have no shadow. -# -# examples: -# shadow-exclude = "n:e:Notification"; -# -# shadow-exclude = [] -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c" -]; - -# clip-shadow-above = [] -# shadow-exclude-reg = "" -# xinerama-shadow-crop = false - -# FADING - -# Fade windows in/out when opening/closing and when opacity changes, -# unless no-fading-openclose is used. -# fading = false -fading = true; - -# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) -# fade-in-step = 0.028 -fade-in-step = 0.05; - -# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) -# fade-out-step = 0.03 -fade-out-step = 0.05; - -# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) -fade-delta = 8 - -# Specify a list of conditions of windows that should not be faded. -# fade-exclude = [] - -# Do not fade on window open/close. -no-fading-openclose = false - -# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. -no-fading-destroyed-argb = false - - -# TRANSPARENCY AND OPACITY - -# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) -inactive-opacity = 0.95; - -# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) -frame-opacity = 0.1; - -# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. -inactive-opacity-override = false; - -# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) -active-opacity = 1.0 - -# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) -inactive-dim = 0.24 - -# Specify a list of conditions of windows that should never be considered focused. -# focus-exclude = [] -focus-exclude = [ "class_g = 'Cairo-clock'" ]; - -# Use fixed inactive dim value, instead of adjusting according to window opacity. -# inactive-dim-fixed = 1.0 - -# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, -# like `50:name *= "Firefox"`. picom-trans is recommended over this. -# Note we don't make any guarantee about possible conflicts with other -# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. -# example: -# opacity-rule = [ "80:class_g = 'URxvt'" ]; -# -# opacity-rule = [] - - -# Corners # - -# Sets the radius of rounded window corners. When > 0, the compositor will -# round the corners of windows. Does not interact well with -# `transparent-clipping`. -corner-radius = 21 - -# Exclude conditions for rounded corners. -rounded-corners-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'" -]; - - -# BACKGROUND - BLURRING - -# blur-size = 12 -# -# blur-deviation = false -# -# blur-strength = 6 - -# Blur background of semi-transparent / ARGB windows. -# Bad in performance, with driver-dependent behavior. -# The name of the switch may change without prior notifications. -# -# blur-background = false - -# Blur background of windows when the window frame is not opaque. -# Implies: -# blur-background -# Bad in performance, with driver-dependent behavior. The name may change. -# -# blur-background-frame = false - - -# Use fixed blur strength rather than adjusting according to window opacity. -# blur-background-fixed = false - - -# Specify the blur convolution kernel, with the following format: -# example: -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# -# blur-kern = "" -blur-kern = "3x3box"; - - -# Exclude conditions for background blur. -# blur-background-exclude = [] -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; - -################################# -# General Settings # -################################# - -# Enable remote control via D-Bus. See the man page for more details. -# dbus = true - -# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. -# daemon = false - -# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. -backend = "glx" -# Enable/disable VSync. -# vsync = false -vsync = true; - -# dbus = false -mark-wmwin-focused = true; - -# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. -# mark-ovredir-focused = false -mark-ovredir-focused = true; - -# Try to detect windows with rounded corners and don't consider them -# shaped windows. The accuracy is not very high, unfortunately. -# -# detect-rounded-corners = false -detect-rounded-corners = true; - -# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers -# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. -# -# detect-client-opacity = false -detect-client-opacity = true; - -# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, -# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, -# provided that the WM supports it. -# -# use-ewmh-active-win = false - -# unredir-if-possible = false -# unredir-if-possible-delay = 0 -# unredir-if-possible-exclude = [] -detect-transient = true; -# detect-client-leader = false -# resize-damage = 1 -# invert-color-include = [] - -# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. -# Might cause incorrect opacity when rendering transparent content (but never -# practically happened) and may not work with blur-background. -# My tests show a 15% performance boost. Recommended. -# -glx-no-stencil = true; - -# GLX backend: Avoid rebinding pixmap on window damage. -# Probably could improve performance on rapid window content changes, -# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). -# Recommended if it works. -# -glx-no-rebind-pixmap = true - -# Disable the use of damage information. -# This cause the whole screen to be redrawn every time, instead of the part of the screen -# has actually changed. Potentially degrades the performance, but might fix some artifacts. -# The opposing option is use-damage -# -# no-use-damage = false -use-damage = false; - -# Use X Sync fence to sync clients' draw calls, to make sure all draw -# calls are finished before picom starts drawing. Needed on nvidia-drivers -# with GLX backend for some users. -# -# xrender-sync-fence = false - -# GLX backend: Use specified GLSL fragment shader for rendering window -# contents. Read the man page for a detailed explanation of the interface. -# -# window-shader-fg = "default" - -# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar -# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg. -# -# window-shader-fg-rule = [ -# "my_shader.frag:window_type != 'dock'" -# ] - -# Force all windows to be painted with blending. Useful if you -# have a glx-fshader-win that could turn opaque pixels transparent. -# -# force-win-blend = false - -# Do not use EWMH to detect fullscreen windows. -# Reverts to checking if a window is fullscreen based only on its size and coordinates. -# -# no-ewmh-fullscreen = false - -# Dimming bright windows so their brightness doesn't exceed this set value. -# Brightness of a window is estimated by averaging all pixels in the window, -# so this could comes with a performance hit. -# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) -# -# max-brightness = 1.0 - -# Make transparent windows clip other windows like non-transparent windows do, -# instead of blending on top of them. -# -transparent-clipping = false - -# Specify a list of conditions of windows that should never have transparent -# clipping applied. Useful for screenshot tools, where you need to be able to -# see through transparent parts of the window. -# -# transparent-clipping-exclude = [] - -# Set the log level. Possible values are: -# "trace", "debug", "info", "warn", "error" -# in increasing level of importance. Case doesn't matter. -# If using the "TRACE" log level, it's better to log into a file -# using *--log-file*, since it can generate a huge stream of logs. -# -# log-level = "debug" -log-level = "warn"; - -# Set the log file. -# If *--log-file* is never specified, logs will be written to stderr. -# Otherwise, logs will to written to the given file, though some of the early -# logs might still be written to the stderr. -# When setting this option from the config file, it is recommended to use an absolute path. -# -# log-file = "/path/to/your/log/file" - -# Show all X errors (for debugging) -# show-all-xerrors = false - -# Write process ID to a file. -# write-pid-path = "/path/to/your/log/file" - -# Window type settings -# -# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: -# "unknown", "desktop", "dock", "toolbar", "menu", "utility", -# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", -# "tooltip", "notification", "combo", and "dnd". -# -# Following per window-type options are available: :: -# -# fade, shadow::: -# Controls window-type-specific shadow and fade settings. -# -# opacity::: -# Controls default opacity of the window type. -# -# focus::: -# Controls whether the window of this type is to be always considered focused. -# (By default, all window types except "normal" and "dialog" has this on.) -# -# full-shadow::: -# Controls whether shadow is drawn under the parts of the window that you -# normally won't be able to see. Useful when the window has parts of it -# transparent, and you want shadows in those areas. -# -# clip-shadow-above::: -# Controls whether shadows that would have been drawn above the window should -# be clipped. Useful for dock windows that should have no shadow painted on top. -# -# redir-ignore::: -# Controls whether this type of windows should cause screen to become -# redirected again after been unredirected. If you have unredir-if-possible -# set, and doesn't want certain window to cause unnecessary screen redirection, -# you can set this to `true`. -# -wintypes: -{ - tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; - dock = { shadow = false; clip-shadow-above = true; } - dnd = { shadow = false; } - popup_menu = { opacity = 0.8; } - dropdown_menu = { opacity = 0.8; } -}; diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi deleted file mode 100644 index a0cc337..0000000 --- a/.config/rofi/config.rasi +++ /dev/null @@ -1,31 +0,0 @@ -// combi is basically a combination of all rofi windows -// set `-show combi` in i3 config to show it at first page - -configuration { - modes: "emoji,run,calc,combi"; - combi-modi: "drun,ssh,run"; - font: "Fira Code Medium 15"; - show-icons: true; - icon-theme: "Tela-dark-purple"; - display-combi: "> "; - display-drun: ""; - display-ssh: "ssh"; - display-calc: "🧮"; - disable-history: false; -} - - -//@theme "dracula.rasi" -@theme "karamel" - -// to override theme with local config here -// @theme "/dev/null" - -#textbox-prompt-colon { - expand: false; - str: ""; - margin: 0px 0.3em 0em 0em ; - text-color: @foreground; -} - - diff --git a/.config/rofi/karamel.rasi b/.config/rofi/karamel.rasi deleted file mode 100644 index a0b8c57..0000000 --- a/.config/rofi/karamel.rasi +++ /dev/null @@ -1,120 +0,0 @@ -* { - foreground: #f9f9f9; - background-color: #14291c; - active-background: #06c179; - urgent-background: #ff5555; - urgent-foreground: #282a36; - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @active-background; -} - -#window { - background-color: @background-color; - border: 4; - border-radius: 20; - border-color: @bordercolor; - padding: 12; - margin: 12; -} -#mainbox { - border: 0; - border-radius: 12; - padding: 0; -} -#message { - border: 0px; - border-color: @separatorcolor; - padding: 12; -} -#textbox { - text-color: @foreground; -} -#listview { - fixed-height: 0; - border-color: @bordercolor; - scrollbar: false; - padding: 3px 0px ; -} - -#element { - border: 1; - padding: 4; - border-radius: 6; -} -#element.normal.normal { - background-color: @background-color; - text-color: @foreground; -} -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -#element.normal.active { - background-color: @active-background; - text-color: @foreground; -} -#element.selected.normal { - background-color: @selected-background; - text-color: @foreground; -} -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; -} -#element.selected.active { - background-color: @selected-active-background; - text-color: @foreground; -} -#element.alternate.normal { - background-color: @background-color; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -#element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -#scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -#sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -#button.selected { - background-color: @selected-background; - text-color: @foreground; -} -#inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -#case-indicator { - spacing: 0; - text-color: @foreground; -} -#entry { - spacing: 0; - text-color: @foreground; -} -#prompt { - spacing: 0; - text-color: @foreground; -} -#inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -element-text, element-icon { - background-color: inherit; - text-color: inherit; -} diff --git a/.config/sway/config b/.config/sway/config deleted file mode 100644 index fca56f3..0000000 --- a/.config/sway/config +++ /dev/null @@ -1,210 +0,0 @@ -# Configuration for sway -# Read `man 5 sway` for more information - -# Set Super key as mod -set $mod Mod4 - -# Set terminal emulator and application launcher -set $term alacritty --option=font.size=12 -set $menu rofi - -# --- Startup programs --- -# picom for transparency -# exec --no-startup-id picom --shadow --inactive-opacity=0.9 --shadow-radius=60 --shadow-opacity=0.2 --fade-in-step=0.8 & - -# Background -#output * bg $HOME/.wallpaper/* center #271829 -exec swaybg -i $HOME/.wallpaper/afternoon.png -m center & -# Font for window titles. Will also be used by the bar unless a different font -font pango:Fira Code 10 - -# Input keymap and variant - -# Notification Daemon -exec mako & - -# waybar -# exec waybar & - -# Use wpctl (WirePlumber) to set volume -bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 10%+ -bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 10%- -bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle - -# --- Controls --- -# increase screen brightness -bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ -# decrease screen brightness -bindsym XF86MonBrightnessDown exec brightnessctl set 8%- - -# Media player controls -bindsym XF86AudioPlay exec playerctl play-pause -# bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -floating_modifier $mod - -# move tiling windows via drag & drop by left-clicking into the title bar, or left-clicking anywhere into the window while holding the floating modifier. -# tiling_drag modifier titlebar - -# start a terminal -bindsym $mod+Return exec $term - -# kill focused window -bindsym $mod+Shift+q kill - -# --- Menu|Program launcher --- -# $mod+d for `dmenu_run`, `bemenu-run`, or `rofi` (below) -# bindsym $mod+d exec --no-startup-id dmenu_run -# bindcode $mod+40 exec "rofi -modi drun,run -show drun" -bindcode $mod+40 exec rofi -show drun -bindsym $mod+period exec "rofi -show emoji" - -# -- Lock screen -- -bindsym $mod+l exec $HOME/lock.sh - -# -- Screenshot -- - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+t layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -# bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -# --- Coloring --- -# class border backgr. text indicator child_border -client.focused #4c7899 #267A67 #ffffff #2e9ef4 #285577 -client.focused_inactive #333333 #161C1A #ffffff #484e50 #5f676a -client.unfocused #333333 #222222 #888888 #292d2e #222222 -client.urgent #2f343a #900000 #ffffff #900000 #900000 -client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - -client.background #ffffff - -# --- Gaps --- -# `inner` is like padding in CSS -# gaps inner [px] -gaps inner 8 - -# `outer` is like margin in CSS -# gaps outer|horizontal|vertical|top|left|bottom|right [px] -gaps outer 5 - -# smart_gaps on|off|inverse_outer -smart_gaps inverse_outer - -# --- Display settings --- -#exec --no-startup-id autorandr --change -#exec --no-startup-id feh --bg-fill --randomize $HOME/.wallpaper/* - -input type:touchpad { - natural_scroll enabled -} - - -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace number $ws1 -bindsym $mod+2 workspace number $ws2 -bindsym $mod+3 workspace number $ws3 -bindsym $mod+4 workspace number $ws4 -bindsym $mod+5 workspace number $ws5 -bindsym $mod+6 workspace number $ws6 -bindsym $mod+7 workspace number $ws7 -bindsym $mod+8 workspace number $ws8 -bindsym $mod+9 workspace number $ws9 -bindsym $mod+0 workspace number $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace number $ws1 -bindsym $mod+Shift+2 move container to workspace number $ws2 -bindsym $mod+Shift+3 move container to workspace number $ws3 -bindsym $mod+Shift+4 move container to workspace number $ws4 -bindsym $mod+Shift+5 move container to workspace number $ws5 -bindsym $mod+Shift+6 move container to workspace number $ws6 -bindsym $mod+Shift+7 move container to workspace number $ws7 -bindsym $mod+Shift+8 move container to workspace number $ws8 -bindsym $mod+Shift+9 move container to workspace number $ws9 -bindsym $mod+Shift+0 move container to workspace number $ws10 - -# reload the configuration file -bindsym $mod+Shift+c restart -bindsym $mod+Shift+r reload - -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec swaynag -t warning -m 'Are you sure you wanna go aSway?' -B 'Yes, sway away!' 'swaymsg exit' -B 'SHUTDOWN' 'shutdown now' - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} - -bindsym $mod+r mode "resize" - -bar { - swaybar_command waybar -} diff --git a/.config/swaylock/config b/.config/swaylock/config deleted file mode 100644 index 61b16b3..0000000 --- a/.config/swaylock/config +++ /dev/null @@ -1,45 +0,0 @@ -image=~/Pictures/org_wholesome2.png -# clock -ignore-empty-password -font=FiraCode Nerd Font - -# Not showing text at all -text-color=00000000 -text-clear-color=00000000 -text-caps-lock-color=00000000 -text-ver-color=00000000 -text-wrong-color=00000000 -color=000000 - -separator-color=3b425200 - -# Make it small to the corner -# current offset: 20x20 -indicator-x-position=1900 -indicator-y-position=1060 -indicator-radius=36 -indicator-thickness=12 - -# Some cool effects -# effect-vignette=0.6:0.6 -# effect-pixelate=10 - -# Sets the color of the key press highlight segments. -key-hl-color=a3be8c -# Sets the color of backspace highlight segments. -bs-hl-color=ebcb8b - -# Indicator -inside-color=2e344000 -inside-clear-color=ebcb8b00 -inside-caps-lock-color=d0877000 -inside-ver-color=a3be8c00 -inside-wrong-color=bf616a00 -line-uses-inside - -# Ring -ring-color=3b4252 -ring-clear-color=ebcb8b -ring-caps-lock-color=d08770 -ring-ver-color=a3be8c -ring-wrong-color=bf616a diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf deleted file mode 100644 index b71fcb0..0000000 --- a/.config/tmux/tmux.conf +++ /dev/null @@ -1,3 +0,0 @@ -set -g mouse on - -setw -g mode-keys vi diff --git a/.config/wofi/style.css b/.config/wofi/style.css deleted file mode 100644 index 6603510..0000000 --- a/.config/wofi/style.css +++ /dev/null @@ -1,42 +0,0 @@ -window { - border: 0px solid #ca93f9; - font-family: FiraCode Nerd Font; - font-size: 16px; - border-radius: 12px; - padding: 10px; - background: linear-gradient(#e66465, #9198e5); -} - -#input { - margin: 5px; - border: none; - color: #f8f8f2; - background-color: #44475a; -} - -#inner-box { - margin: 5px; - border: none; - border-radius: 12px; - background-color: #282a36; -} - -#outer-box { - margin: 5px; - border-radius: 12px; - background-color: #282a36; -} - -#text { - margin: 5px; - border: none; - color: #f8f8f2; -} - -#entry { - border-radius: 12px; -} - -#entry:selected { - background-color: #b767d9; -} diff --git a/.stow-local-ignore b/.stow-local-ignore new file mode 100644 index 0000000..2d2ecd6 --- /dev/null +++ b/.stow-local-ignore @@ -0,0 +1 @@ +.git/ diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..c8d267e --- /dev/null +++ b/.zshrc @@ -0,0 +1,150 @@ +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="jovial" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=() + +# CASE_SENSITIVE="true" +# HYPHEN_INSENSITIVE="true" + +# Auto-update behaviour: +# - auto: update automatically without asking +# - disabled: disable automatic update +# - reminder: remind to update when it's time +zstyle ':omz:update' mode auto + +# Change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +ENABLE_CORRECTION="false" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=( + git + autojump + urltools + zsh-autosuggestions + zsh-syntax-highlighting + jovial +) + +source $ZSH/oh-my-zsh.sh + +# export MANPATH="/usr/local/man:$MANPATH" + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. + +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +export LC_ALL=en_CA.UTF-8 +if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] +then + # Autostart Hyprland + export GTK_THEME=adw-gtk3-dark:dark + exec Hyprland +elif [ -z $DISPLAY ] && [ $(tty) = /dev/tty2 ] +then + # Autostart X at login for tty2, using i3 WM + export GTK_THEME=adw-gtk3-dark:dark + exec startx +fi + +## Auto start Wayland at login, using Sway on Wayland tty2 +# Start i3 WM on login, opt in using dGPU (NVIDIA) +#if [ -z "$DISPLAY" ] && [ "${XDG_VTNR}" -eq 2 ]; then +# echo "Starting i3 WM on tty2 and enable NVIDIA GPU by default" +# exec startx +# export __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia +#fi + + +export EDITOR=nvim + +# Jack config for SuperCollider server +export SC_JACK_DEFAULT_INPUTS="system:capture_1,system:capture_2" +export SC_JACK_DEFAULT_OUTPUTS="system:playback_1,system:playback_2" + +alias SHUTDOWN="shutdown now" + +alias connectWifi='sudo wpa_supplicant -B -i wlo1 -c /etc/wpa_supplicant/wpa_supplicant.conf' + +alias project='cd ~/Partage/Projects/' +alias coding='cd $HOME/Partage/Coding' + +alias gotop="gotop -l kitchensink -c monokai --nvidia" +alias setbackground="feh --bg-fill --randomize $HOME/.wallpaper/" + +alias fallinlight="feh --bg-fill --randomize /home/antoine/Pictures/Fallin\'\ Light" +alias micvol="wpctl set-volume @DEFAULT_SOURCE@" + +alias enable-nvidia='export __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia' +alias weather='inxi -wxx --weather-unit m' +alias cal='cal -m' +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +export XMODIFIERS=@im=ibus + +# bun completions +[ -s "/home/antoine/.bun/_bun" ] && source "/home/antoine/.bun/_bun" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH" + +eval "$(zoxide init --cmd cd zsh)" diff --git a/README.md b/README.md index da601cd..99749ba 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # dotfiles -My configuration and styling for things I use on my Linux PC. +My configuration and styling for things I use on my Linux PC, while embracing the power of GNU Stow and symlink! -More details will come! +Shoutout to **Dreams of Autonomy** and [this amazing video](https://youtu.be/y6XCebnB9gs) about managing dotfiles. # License (CC0 1.0 Universal) > See [LICENSE](LICENSE) for the full text. notkaramel/dotfiles by Antoine Phan (@notkaramel) is marked with CC0 1.0 Universal. To view a copy of this license, visit http://creativecommons.org/publicdomain/zero/1.0 -Essentially, you can do whatever you want with this and no need to credit me for the :sparkles: inspiration :sparkles:. (I'd appreciate it if you did, though!) \ No newline at end of file +Essentially, you can do whatever you want with this and no need to credit me for the :sparkles: inspiration :sparkles:. (I'd appreciate it if you did, though!) diff --git a/add-dotfiles.sh b/add-dotfiles.sh deleted file mode 100644 index 42976e8..0000000 --- a/add-dotfiles.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -CONFIG=$HOME/.config -echo "instruction: ./add-dotfiles.sh " -config=$1 - -mkdir .config/$config -cp -r $CONFIG/$config/* ./.config/$config/ -echo "Copied $CONFIG/$config to .config folder" - -echo $config >> listofconfigs.md diff --git a/listofconfigs.md b/listofconfigs.md deleted file mode 100644 index 703becb..0000000 --- a/listofconfigs.md +++ /dev/null @@ -1,15 +0,0 @@ -hypr -neofetch -i3 -alacritty -autorandr/diagonal -dunst -nvim -rofi -wofi -sway -swaylock -tmux -picom.conf -autorandr/trottier_up -hypr diff --git a/temp.sh b/temp.sh deleted file mode 100644 index 22559b6..0000000 --- a/temp.sh +++ /dev/null @@ -1 +0,0 @@ -echo $1 \ No newline at end of file diff --git a/update.sh b/update.sh deleted file mode 100644 index 6baa27d..0000000 --- a/update.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -CONFIG=$HOME/.config -echo "instruction: ./update.sh " -config=$1 - -cp -r $CONFIG/$config/* ./.config/$config/ -echo "Copied $CONFIG/$config to .config folder" -