From ef3764a72c560b0506549a1e2e35671210d42624 Mon Sep 17 00:00:00 2001 From: clint Date: Tue, 27 Feb 2024 14:15:53 -0600 Subject: [PATCH] random stuff, no nvim yet --- alacritty/.config/alacritty/alacritty.yml | 4 ++-- bashrc/.bashrc | 3 +++ i3/.config/i3/config | 17 +++++++++++------ picom/.config/picom/picom.conf | 4 ++-- polybar/.config/polybar/config.ini | 23 +++++++++++++---------- rofi/.config/rofi/config.rasi | 4 +++- tmux/.config/tmux/tmux.conf | 4 ++++ 7 files changed, 38 insertions(+), 21 deletions(-) diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 0f4ce53..d0c0a6e 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -1,8 +1,8 @@ window: - opacity: 0.85 + opacity: 0.7 font: - size: 20 + size: 12 normal: family: FiraCode Nerd Font style: Regular diff --git a/bashrc/.bashrc b/bashrc/.bashrc index d411040..07fbc9e 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -105,6 +105,7 @@ alias vim="nvim" alias docs="python ~/scripts/stock_price.py -s docs" alias stock="python ~/scripts/stock_price.py -s " alias cls="clear & ls" +alias r="ranger" xhost +local:root > /dev/null 2>&1 @@ -148,5 +149,7 @@ ex () fi } +PATH=$PATH:/usr/local/bin +export EDITOR=/usr/local/bin/nvim pfetch diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 573814e..c5cde2e 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -44,8 +44,12 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod +# this might mess things up idk lol +set $term alacritty + + # start a terminal -bindsym $mod+Return exec --no-startup-id alacritty +bindsym $mod+Return exec --no-startup-id $term # kill focused window bindsym $mod+Shift+q kill @@ -244,7 +248,7 @@ set $bar-inactive_workspace #755B69 #} # set background on startup -set $wallpaper ~/Pictures/wallpapers/rennaissance.jpg +set $wallpaper ~/Pictures/wallpapers/trees_with_bird.jpg exec --no-startup-id feh --bg-fill $wallpaper # turn picom on on start up @@ -269,12 +273,13 @@ client.focused_inactive $bd-color #111111 #ffffff #333333 #333333 client.unfocused $bd-color #111111 #ffffff #333333 #333333 # lock screen -bindsym $mod+l exec ~/.scripts/lock.sh +bindsym $mod+l exec ~/scripts/lock.sh # dmenu stuff -bindsym $mod+c exec ~/.scripts/dmenu_configs.sh -bindsym $mod+p exec ~/.scripts/dmenu_wallpaper.sh -bindsym $mod+x exec ~/.scripts/dmenu_shutdown.sh +bindsym $mod+c exec ~/scripts/dmenu_configs.sh +bindsym $mod+p exec ~/scripts/dmenu_wallpaper.sh +bindsym $mod+x exec ~/scripts/dmenu_shutdown.sh +bindsym $mod+n exec ~/scripts/dmenu_notes.sh >>~/tmp_log.txt 2>&1 # common programs bindsym $mod+Shift+w exec firefox diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf index e1fbea5..6a6a5e1 100644 --- a/picom/.config/picom/picom.conf +++ b/picom/.config/picom/picom.conf @@ -221,7 +221,7 @@ backend = "xrender"; # Enable/disable VSync. # vsync = false -vsync = true +vsync = false # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false @@ -252,7 +252,7 @@ detect-client-opacity = true; # try detecting this with X RandR extension. # # refresh-rate = 60 -refresh-rate = 0 +# refresh-rate = 0 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index a8ebb1e..98a6327 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -52,7 +52,8 @@ secondary = #dddddd alert = #bd2c40 [bar/main] -monitor = ${env:MONITOR:HDMI-0} +#monitor = ${env:MONITOR:HDMI-0} +monitor = ${env:MONITOR:default} width = 100% height = 27 ;offset-x = 1% @@ -77,8 +78,10 @@ module-margin-left = 1 module-margin-right = 2 ;font-0 = fixed:pixelsize=10;1 -font-0 = CodeNewRoman Nerd Font:pixelsize=10:style=Bold -font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular +font-0 = FiraCode Nerd Font +; font-0 = CodeNewRoman Nerd Font:pixelsize=10:style=Bold +; font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular +font-1 = Source Han Code JP font-2 = NotoSansMono Nerd Font:style=Regular font-3 = FontAwesome6Free font-4 = FontAwesome6Free:style=Solid @@ -214,13 +217,13 @@ exec = ~/scripts/i3_finance.sh format-prefix-foreground = ${colors.foreground-alt} interval = 3600 -[module/pacman] -type = custom/script -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/pacman] +#type = custom/script +#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.rasi b/rofi/.config/rofi/config.rasi index 01cc046..6b4b396 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -6,4 +6,6 @@ configuration { } //@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" //@theme "/usr/share/rofi/themes/glue_pro_blue.rasi" -@theme "/usr/share/rofi/themes/clint.rasi" +//@theme "/usr/share/rofi/themes/clint.rasi" +//@theme "/usr/share/rofi/themes/lb.rasi" +@theme "/usr/share/rofi/themes/fancy.rasi" diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index f72d463..57ae3da 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -24,6 +24,9 @@ unbind % # reload config file (change file location to your the tmux.conf you want to use) bind r source-file ~/.config/tmux/tmux.conf\; display ' Reloaded tmux config.' +# Create a new session +bind S command-prompt -p "New Session:" "new-session -A -s '%%'" + # # switch panes using Alt-arrow without prefix # bind -n M-Left select-pane -L # bind -n M-Right select-pane -R @@ -51,6 +54,7 @@ set-option -g detach-on-destroy off # Paste instantly: upper case letter # Paste from tmux register: = set -g @plugin 'fcsonline/tmux-thumbs' +set -g @thumbs-key F # Weather data set -g @plugin 'xamut/tmux-weather'