Gabriel Capella 3 дней назад
Родитель
Сommit
18c64202b4

+ 1 - 1
dots/.config/alacritty/alacritty.toml

@@ -1,5 +1,5 @@
 [font]
 [font]
-size = 9
+size = 8
 
 
 [font.bold]
 [font.bold]
 style = "Bold"
 style = "Bold"

+ 3 - 0
dots/.config/fish/config.fish

@@ -1,5 +1,8 @@
 set fish_greeting "Capella"
 set fish_greeting "Capella"
 
 
+# Wayland native apps
+set -gx MOZ_ENABLE_WAYLAND 1
+
 export PATH="/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/bin/"
 export PATH="/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/bin/"
 export PATH="$PATH:$HOME/.node/bin"
 export PATH="$PATH:$HOME/.node/bin"
 export PATH="$PATH:$HOME/go/bin"
 export PATH="$PATH:$HOME/go/bin"

+ 2 - 30
dots/.config/fish/fish_variables

@@ -1,39 +1,11 @@
 # This file contains fish universal variable definitions.
 # This file contains fish universal variable definitions.
 # VERSION: 3.0
 # VERSION: 3.0
+SETUVAR --export GTK_USE_PORTAL:1
 SETUVAR __fish_classic_git_prompt_initialized:\x1d
 SETUVAR __fish_classic_git_prompt_initialized:\x1d
 SETUVAR __fish_init_2_39_8:\x1d
 SETUVAR __fish_init_2_39_8:\x1d
 SETUVAR __fish_init_2_3_0:\x1d
 SETUVAR __fish_init_2_3_0:\x1d
-SETUVAR __fish_initialized:3800
+SETUVAR __fish_initialized:4300
 SETUVAR _fish_abbr_l:ls
 SETUVAR _fish_abbr_l:ls
-SETUVAR fish_color_autosuggestion:555
-SETUVAR fish_color_cancel:\x2dr
-SETUVAR fish_color_command:005fd7
-SETUVAR fish_color_comment:990000
-SETUVAR fish_color_cwd:green
-SETUVAR fish_color_cwd_root:red
-SETUVAR fish_color_end:009900
-SETUVAR fish_color_error:ff0000
-SETUVAR fish_color_escape:bryellow\x1e\x2d\x2dbold
-SETUVAR fish_color_history_current:\x2d\x2dbold
-SETUVAR fish_color_host:normal
-SETUVAR fish_color_host_remote:yellow
-SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
-SETUVAR fish_color_normal:normal
-SETUVAR fish_color_operator:bryellow
-SETUVAR fish_color_param:00afff
-SETUVAR fish_color_quote:999900
-SETUVAR fish_color_redirection:00afff
-SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
-SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
-SETUVAR fish_color_status:red
-SETUVAR fish_color_user:brgreen
-SETUVAR fish_color_valid_path:\x2d\x2dunderline
 SETUVAR fish_greeting:Capella
 SETUVAR fish_greeting:Capella
-SETUVAR fish_key_bindings:fish_vi_key_bindings
 SETUVAR fish_most_recent_dir:/home/capella
 SETUVAR fish_most_recent_dir:/home/capella
-SETUVAR fish_pager_color_completion:\x1d
-SETUVAR fish_pager_color_description:B3A06D\x1eyellow
-SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
-SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
-SETUVAR fish_pager_color_selected_background:\x2dr
 SETUVAR fish_user_abbreviations:l\x20ls
 SETUVAR fish_user_abbreviations:l\x20ls

+ 5 - 5
dots/.config/gtklock/style.css

@@ -1,5 +1,5 @@
 window {
 window {
-    background-color: #323232;
+    background-color: #000000;
 }
 }
 
 
 #clock-label {
 #clock-label {
@@ -28,13 +28,13 @@ window {
 
 
 entry {
 entry {
     font-family: "Inter", sans-serif;
     font-family: "Inter", sans-serif;
-    font-size: 14px;
+    font-size: 12px;
     background-color: #222222;
     background-color: #222222;
     color: white;
     color: white;
     border: 2px solid #444444;
     border: 2px solid #444444;
     border-radius: 4px;
     border-radius: 4px;
-    padding: 8px 16px;
-    min-width: 250px;
+    padding: 2px 12px;
+    min-width: 180px;
 }
 }
 
 
 entry:focus {
 entry:focus {
@@ -52,6 +52,6 @@ entry:focus {
 #error-label {
 #error-label {
     font-family: "Inter", sans-serif;
     font-family: "Inter", sans-serif;
     font-size: 13px;
     font-size: 13px;
-    color: #900000;
+    color: #ff4444;
     margin-top: 8px;
     margin-top: 8px;
 }
 }

+ 11 - 5
dots/.config/sway/config

@@ -34,11 +34,11 @@ bindsym $mod+Return exec alacritty
 bindsym $mod+Shift+q kill
 bindsym $mod+Shift+q kill
 
 
 # start dmenu (a program launcher)
 # start dmenu (a program launcher)
-bindsym $mod+d exec bemenu-run -l 10 -p  --counter always -c -W 0.2 -B 10 \
-    --fixed-height --fn  'B612 11'  \
+bindsym $mod+d exec bemenu-run -l 10 -p  --counter always -c -W 0.2 -B 2 \
+    --fixed-height -H 22 --fn  'Inter 8'  \
     --bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF"
     --bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF"
-bindsym $mod+Shift+v exec cliphist list | bemenu -l 15 -p  --counter always -c -W 0.2 -B 10 \
-    --fixed-height --fn  'B612 11'  \
+bindsym $mod+Shift+v exec cliphist list | bemenu -l 15 -p  --counter always -c -W 0.2 -B 2 \
+    --fixed-height -H 22 --fn  'Inter 8'  \
     --bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF" \
     --bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF" \
     | cliphist decode | wl-copy
     | cliphist decode | wl-copy
 
 
@@ -207,6 +207,12 @@ input * {
     scroll_factor 1
     scroll_factor 1
 }
 }
 
 
+# @host jellyfish
+input type:pointer {
+    pointer_accel 0.75
+}
+# @end
+
 # @host jellyfish
 # @host jellyfish
 input "9610:8214:SINO_WEALTH_USB_KEYBOARD" {
 input "9610:8214:SINO_WEALTH_USB_KEYBOARD" {
     xkb_options "ctrl:nocaps"
     xkb_options "ctrl:nocaps"
@@ -219,7 +225,7 @@ input "9610:8214:SINO_WEALTH_USB_KEYBOARD" {
 exec swayidle -w \
 exec swayidle -w \
          timeout 300 'gtklock -d -c /home/capella/.config/gtklock/config.ini' \
          timeout 300 'gtklock -d -c /home/capella/.config/gtklock/config.ini' \
          timeout 600 'swaymsg "output * power off" && ddcutil setvcp --sn 6L1M413 D6 0x05' \
          timeout 600 'swaymsg "output * power off" && ddcutil setvcp --sn 6L1M413 D6 0x05' \
-         timeout 900 'systemctl suspend' \
+         timeout 1200 'systemctl hibernate' \
          resume 'swaymsg "output * power on" && ddcutil setvcp --sn 6L1M413 D6 0x01' \
          resume 'swaymsg "output * power on" && ddcutil setvcp --sn 6L1M413 D6 0x01' \
          before-sleep 'gtklock -d -c /home/capella/.config/gtklock/config.ini'
          before-sleep 'gtklock -d -c /home/capella/.config/gtklock/config.ini'
 
 

+ 1 - 1
dots/.config/waybar/config

@@ -16,7 +16,7 @@
     "position": "top",
     "position": "top",
 
 
     // If height property would be not present, it'd be calculated dynamically
     // If height property would be not present, it'd be calculated dynamically
-    "height": 30,
+    "height": 22,
 
 
     "modules-left": [
     "modules-left": [
         "sway/workspaces",
         "sway/workspaces",

+ 1 - 1
dots/.config/waybar/style.css

@@ -52,7 +52,7 @@
     color: white;
     color: white;
 /* @host jellyfish */
 /* @host jellyfish */
     font-family: "Inter", "DejaVu Sans", sans-serif;
     font-family: "Inter", "DejaVu Sans", sans-serif;
-    font-size: 11px;
+    font-size: 10px;
     font-feature-settings: "tnum";
     font-feature-settings: "tnum";
 /* @end */
 /* @end */
 /* @host tompot */
 /* @host tompot */

+ 22 - 24
dots/.vimrc

@@ -2,34 +2,32 @@
 
 
 " Capella .vimrc
 " Capella .vimrc
 """""""""""""""""""""""""""""""""""""
 """""""""""""""""""""""""""""""""""""
-set nocompatible              " be iMproved, required
-filetype off                  " required
+set nocompatible
+filetype off
 
 
-" set the runtime path to include Vundle and initialize
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
+" Install vim-plug if not present
+if empty(glob('~/.vim/autoload/plug.vim'))
+  silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
+    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+endif
 
 
-" let Vundle manage Vundle, required
-Plugin 'VundleVim/Vundle.vim'
+call plug#begin('~/.vim/plugged')
 
 
 " ------Plugins-------
 " ------Plugins-------
-Plugin 'vim-airline/vim-airline'
-Plugin 'vim-airline/vim-airline-themes'
-Plugin 'scrooloose/nerdtree'
-Plugin 'tpope/vim-fugitive'
-Plugin 'kristijanhusak/vim-multiple-cursors'
-Plugin 'tpope/vim-surround'
-Plugin 'colors'
-Plugin 'jistr/vim-nerdtree-tabs'
-Plugin 'iwonbigbro/vim-hybrid'
-Plugin 'dense-analysis/ale'
-Plugin 'junegunn/fzf'
-Plugin 'junegunn/fzf.vim'
-Plugin 'sheerun/vim-polyglot'
-
-
-
-call vundle#end()
+Plug 'vim-airline/vim-airline'
+Plug 'vim-airline/vim-airline-themes'
+Plug 'scrooloose/nerdtree'
+Plug 'tpope/vim-fugitive'
+Plug 'kristijanhusak/vim-multiple-cursors'
+Plug 'tpope/vim-surround'
+Plug 'jistr/vim-nerdtree-tabs'
+Plug 'iwonbigbro/vim-hybrid'
+Plug 'dense-analysis/ale'
+Plug 'junegunn/fzf'
+Plug 'junegunn/fzf.vim'
+Plug 'sheerun/vim-polyglot'
+
+call plug#end()
 filetype plugin indent on
 filetype plugin indent on
 
 
 if has('syntax') && !exists('g:syntax_on')
 if has('syntax') && !exists('g:syntax_on')