diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b19aa3b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vim/* diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 70ba8af..8e0f9dd 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -1,51 +1,41 @@ window: - opacity: 0.8 + opacity: 0.95 +font: + normal: + family: monospace + style: Regular + +# Colors (Oxide) colors: # Default colors primary: - background: '0x2c2c2c' - foreground: '0xd6d6d6' + background: '#212121' + foreground: '#c0c5ce' + bright_foreground: '#f3f4f5' - dim_foreground: '0xdbdbdb' - bright_foreground: '0xd9d9d9' - dim_background: '0x202020' # not sure - bright_background: '0x3a3a3a' # not sure - - # Cursor colors cursor: - text: '0x2c2c2c' - cursor: '0xd9d9d9' + text: '#212121' + cursor: '#c0c5ce' # Normal colors normal: - black: '0x1c1c1c' - red: '0xbc5653' - green: '0x909d63' - yellow: '0xebc17a' - blue: '0x7eaac7' - magenta: '0xaa6292' - cyan: '0x86d3ce' - white: '0xcacaca' + black: '#212121' + red: '#e57373' + green: '#a6bc69' + yellow: '#fac863' + blue: '#6699cc' + magenta: '#c594c5' + cyan: '#5fb3b3' + white: '#c0c5ce' # Bright colors bright: - black: '0x636363' - red: '0xbc5653' - green: '0x909d63' - yellow: '0xebc17a' - blue: '0x7eaac7' - magenta: '0xaa6292' - cyan: '0x86d3ce' - white: '0xf7f7f7' - - # Dim colors - dim: - black: '0x232323' - red: '0x74423f' - green: '0x5e6547' - yellow: '0x8b7653' - blue: '0x556b79' - magenta: '0x6e4962' - cyan: '0x5c8482' - white: '0x828282' + black: '#5c5c5c' + red: '#e57373' + green: '#a6bc69' + yellow: '#fac863' + blue: '#6699cc' + magenta: '#c594c5' + cyan: '#5fb3b3' + white: '#f3f4f5' diff --git a/bashrc/.bashrc b/bashrc/.bashrc index 7513a6a..3b42d40 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -95,6 +95,7 @@ alias df='df -h' # human-readable sizes alias free='free -m' # show sizes in MB alias np='nano -w PKGBUILD' alias more=less +alias rofi='rofi -m 1' xhost +local:root > /dev/null 2>&1 diff --git a/i3/.config/i3/config b/i3/.config/i3/config index cbc3c03..9a20be7 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -45,7 +45,7 @@ gaps inner 10 exec_always --no-startup-id $HOME/.config/polybar/launch.sh # set background on startup -set $wallpaper /home/clint/Pictures/wallpapers/current_wallpaper.jpg +set $wallpaper /home/clint/Pictures/wallpapers/_current_wallpaper.jpg exec --no-startup-id feh --bg-fill $wallpaper @@ -61,7 +61,7 @@ bindsym $mod+Shift+q kill bindsym $mod+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +bindsym $mod+d exec --no-startup-id rofi -show run # you can use the cursor keys: bindsym $mod+Left focus left @@ -104,8 +104,6 @@ bindsym $mod+x exec ~/scripts/dmenu_shutdown.sh # common programs bindsym $mod+Shift+w exec firefox bindsym $mod+Shift+p exec pycharm -bindsym $mod+m workspace $ws4; exec spotifyd; exec alacritty -e spt -bindsym $mod+Shift+m exec killall spt; exec killall spotifyd # reload the configuration file bindsym $mod+Shift+c reload @@ -121,7 +119,7 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu # set which programs open in which workspaces # to find the class, run xprop in a terminal and click on a program -assign [class="firefox"] $ws2 +#assign [class="firefox"] $ws2 # these programs will float for_window [class="kcalc"] floating enable diff --git a/i3/.config/i3/scratchpads.conf b/i3/.config/i3/scratchpads.conf index 2b76115..7656dc7 100644 --- a/i3/.config/i3/scratchpads.conf +++ b/i3/.config/i3/scratchpads.conf @@ -1,9 +1,17 @@ -# scratchpad stuff +# Calculator exec --no-startup-id kcalc for_window [class="kcalc"] , move scratchpad bindsym $mod+g [class="kcalc"] scratchpad show -exec_always --no-startup-id pgrep -f '^alacritty --class taskman,taskman' || alacritty --class taskman,taskman -e btm +# Task Manager +exec_always --no-startup-id pgrep -f '^alacritty -t TaskManager --class taskman,taskman' || alacritty --class taskman,taskman -e btm for_window [class="taskman"] , move scratchpad -bindsym F1 [class="taskman"] scratchpad show +bindsym $mod+F1 [class="taskman"] scratchpad show +# Pacman Updates - used in Polybar +for_window [class="update"] , move window to scratchpad, scratchpad show + +# Spotify +exec_always --no-startup-id pgrep -f '^alacritty -t Spotify --class spotify,spotify' || alacritty --class spotify,spotify -e spt +for_window [class="spotify"] , move scratchpad +bindsym $mod+m [class="spotify"] scratchpad show diff --git a/i3/.config/i3/workspaces.conf b/i3/.config/i3/workspaces.conf index 45d7e8e..ed3807f 100644 --- a/i3/.config/i3/workspaces.conf +++ b/i3/.config/i3/workspaces.conf @@ -41,3 +41,5 @@ workspace $ws2 output HDMI-1 workspace $ws3 output HDMI-0 workspace $ws4 output HDMI-1 +# Programs default workspace +assign [class="firefox"] $ws2 diff --git a/picom/.config/picom/config b/picom/.config/picom/config index d4b6151..e69de29 100644 --- a/picom/.config/picom/config +++ b/picom/.config/picom/config @@ -1,2 +0,0 @@ -active-opacity = 1; -inactive-opacity = 0.8; diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index 447f419..9c2e539 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -77,7 +77,7 @@ module-margin-left = 1 module-margin-right = 2 ;font-0 = fixed:pixelsize=10;1 -font-0 = FuraMono Nerd Font:pixelsize=10 +font-0 = CodeNewRoman Nerd Font:pixelsize=12:style=Bold font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular font-2 = NotoSansMono Nerd Font:style=Regular font-3 = FontAwesome6Free @@ -219,6 +219,7 @@ exec = ~/scripts/i3_pacman.sh interval = 3600 format-prefix =  format-prefix-foreground = ${colors.foreground-alt} +click-left = alacritty --hold --class update,update -e sudo pacman -Syu [module/volume] type = custom/script diff --git a/rofi/.config/rofi/config b/rofi/.config/rofi/config new file mode 100644 index 0000000..ce6f11e --- /dev/null +++ b/rofi/.config/rofi/config @@ -0,0 +1,3 @@ +window { + width: 100%; +} diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index 2864512..feb748c 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -4,3 +4,4 @@ configuration { show-icons: true; icon-theme: "Papirus"; } +@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" diff --git a/vim/.vim/after/ftplugin/python.vim b/vim/.vim/after/ftplugin/python.vim index 1efc743..6943d50 100644 --- a/vim/.vim/after/ftplugin/python.vim +++ b/vim/.vim/after/ftplugin/python.vim @@ -12,3 +12,6 @@ map \m iif __name__ == "__main__":omain()o " Wrap in docstring quotes map \" {i"""}a""" + +" new function +map \f idef ():bi diff --git a/vimrc/.vimrc b/vimrc/.vimrc index 9a146a3..ebc446b 100644 --- a/vimrc/.vimrc +++ b/vimrc/.vimrc @@ -78,7 +78,6 @@ let NERDTreeShowHidden=1 " colorscheme moonfly -" colorscheme vim-monokai-tasty " colorscheme onenord -colorscheme gruvbox-baby - +" colorscheme gruvbox-baby +" colorscheme tender diff --git a/zsh/.zshrc b/zsh/.zshrc index 5c90dfe..deb4806 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -16,6 +16,7 @@ alias ll="exa -lhga --group-directories-first" alias vim="nvim" alias docs="python ~/scripts/stock_price.py -s docs" alias stock="python ~/scripts/stock_price.py -s " +alias rofi="rofi -m 1 " # path export PATH=/home/clint/projects/:/home/clint/scripts/:$PATH