buncha random stuff

This commit is contained in:
clint 2022-09-28 20:44:12 -05:00
parent 97805ee54a
commit 042b966631
13 changed files with 58 additions and 52 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
vim/*

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,2 +0,0 @@
active-opacity = 1;
inactive-opacity = 0.8;

View File

@ -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

3
rofi/.config/rofi/config Normal file
View File

@ -0,0 +1,3 @@
window {
width: 100%;
}

View File

@ -4,3 +4,4 @@ configuration {
show-icons: true;
icon-theme: "Papirus";
}
@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi"

View File

@ -12,3 +12,6 @@ map \m iif __name__ == "__main__":<Esc>o<Tab>main()<Esc>o<Bs><Bs><Esc>
" Wrap in docstring quotes
map \" {i"""<Return><Esc>}a<Return>"""<Return><Esc>
" new function
map \f idef ():<Esc>bi

View File

@ -78,7 +78,6 @@ let NERDTreeShowHidden=1
" colorscheme moonfly
" colorscheme vim-monokai-tasty
" colorscheme onenord
colorscheme gruvbox-baby
" colorscheme gruvbox-baby
" colorscheme tender

View File

@ -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