Cleanup
This commit is contained in:
@@ -13,10 +13,11 @@
|
|||||||
|
|
||||||
## Programs
|
## Programs
|
||||||
+ Editor: nvim
|
+ Editor: nvim
|
||||||
|
+ File-Browser: ranger
|
||||||
+ Image-Viewer: sxiv
|
+ Image-Viewer: sxiv
|
||||||
+ Info: [fet.sh](https://github.com/6gk/fet.sh) and neofetch
|
+ Info: neofetch
|
||||||
+ Launcher: dmenu
|
+ Launcher: dmenu
|
||||||
+ Music: spotify with [Onepunch-Theme](https://github.com/morpheusthewhite/spicetify-themes/tree/master/Onepunch)
|
+ Music: spotify
|
||||||
+ Pdf-Viewer: zathura with mupdf
|
+ Pdf-Viewer: zathura with mupdf
|
||||||
+ Screenshots: Flameshot
|
+ Screenshots: Flameshot
|
||||||
+ Video-Player: vlc or mpv
|
+ Video-Player: vlc or mpv
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
!! Some extra xterm settings
|
!! Some extra xterm settings
|
||||||
! Font
|
! Font
|
||||||
XTerm.vt100.faceName: xft:InconsolataLGC Nerd Font Mono:antialias=true
|
XTerm.vt100.faceName: xft:FiraCode Nerd Font Mono:antialias=true
|
||||||
XTerm.vt100.faceSize: 11
|
XTerm.vt100.faceSize: 11
|
||||||
|
|
||||||
! Remove Scrollbar
|
! Remove Scrollbar
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ floating_modifier $mod
|
|||||||
# Font for Window Titles
|
# Font for Window Titles
|
||||||
font pango:Product Sans 10
|
font pango:Product Sans 10
|
||||||
|
|
||||||
set $accent '#98c379'
|
|
||||||
|
|
||||||
# ============================== Keybinds (except workspaces)
|
# ============================== Keybinds (except workspaces)
|
||||||
#Terminal
|
#Terminal
|
||||||
bindsym $mod+Return exec --no-startup-id alacritty
|
bindsym $mod+Return exec --no-startup-id alacritty
|
||||||
@@ -52,7 +50,8 @@ bindsym $mod+p workspace prev
|
|||||||
# dmenu
|
# dmenu
|
||||||
set $fg '#ffffff'
|
set $fg '#ffffff'
|
||||||
set $bg '#000000'
|
set $bg '#000000'
|
||||||
set $font 'Product Sans'
|
set $accent '#98c379'
|
||||||
|
set $font 'Product Sans:pixelsize=22'
|
||||||
bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg"
|
bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg"
|
||||||
bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg"
|
bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg"
|
||||||
|
|
||||||
@@ -75,8 +74,16 @@ bindsym XF86AudioPause exec playerctl pause
|
|||||||
bindsym XF86AudioNext exec playerctl next
|
bindsym XF86AudioNext exec playerctl next
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
|
||||||
|
# ============================== Monitor
|
||||||
|
bindsym $mod+Ctrl+Left move workspace to output left
|
||||||
|
bindsym $mod+Ctrl+Right move workspace to output right
|
||||||
|
|
||||||
|
bindsym $mod+Ctrl+h move workspace to output left
|
||||||
|
bindsym $mod+Ctrl+l move workspace to output right
|
||||||
|
|
||||||
# ======================================== Open Applications
|
# ======================================== Open Applications
|
||||||
bindsym $mod+e exec thunar
|
#bindsym $mod+e exec thunar
|
||||||
|
bindsym $mod+e exec alacritty -e ranger
|
||||||
|
|
||||||
bindsym $mod+Ctrl+c exec google-calendar-dark
|
bindsym $mod+Ctrl+c exec google-calendar-dark
|
||||||
bindsym $mod+Ctrl+d exec discord
|
bindsym $mod+Ctrl+d exec discord
|
||||||
@@ -128,19 +135,6 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
|
|||||||
bindsym $mod+Shift+9 move container to workspace number $ws9
|
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||||
bindsym $mod+Shift+0 move container to workspace number $ws10
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||||
|
|
||||||
# ============================== Monitor
|
|
||||||
workspace $ws1 output right
|
|
||||||
workspace $ws10 output left
|
|
||||||
|
|
||||||
bindsym $mod+Ctrl+1 move workspace to output left
|
|
||||||
bindsym $mod+Ctrl+2 move workspace to output right
|
|
||||||
|
|
||||||
bindsym $mod+Ctrl+Left move workspace to output left
|
|
||||||
bindsym $mod+Ctrl+Right move workspace to output right
|
|
||||||
|
|
||||||
bindsym $mod+Ctrl+h move workspace to output left
|
|
||||||
bindsym $mod+Ctrl+l move workspace to output right
|
|
||||||
|
|
||||||
# ============================== Design
|
# ============================== Design
|
||||||
# Remove title
|
# Remove title
|
||||||
new_window 1pixel
|
new_window 1pixel
|
||||||
@@ -171,12 +165,14 @@ exec export GTK_IM_MODULE=fcitx
|
|||||||
exec export QT_IM_MODULE=fcitx
|
exec export QT_IM_MODULE=fcitx
|
||||||
exec export XMODIFIERS=@im=fcitx
|
exec export XMODIFIERS=@im=fcitx
|
||||||
|
|
||||||
# Launch Programs at start - I don't like ~/.Xsession
|
# Launch Programs at start
|
||||||
exec fcitx
|
exec fcitx
|
||||||
exec nextcloud
|
exec nextcloud
|
||||||
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
|
||||||
exec dunst
|
exec dunst
|
||||||
exec picom --experimental-backends
|
exec picom --experimental-backends
|
||||||
exec nm-applet
|
exec nm-applet
|
||||||
|
|
||||||
|
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
||||||
|
|
||||||
exec ~/scripts/fix_screens.sh
|
exec ~/scripts/fix_screens.sh
|
||||||
exec ~/.config/polybar/launch.sh
|
exec ~/scripts/polybar.sh
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
set preview_images true
|
set preview_images true
|
||||||
set preview_images_method ueberzug
|
set preview_images_method ueberzug
|
||||||
#set preview_images_method w3m
|
|
||||||
|
|
||||||
#icons
|
#icons
|
||||||
default_linemode devicons
|
default_linemode devicons
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ zstyle ':vcs_info:git:*' formats ' %b'
|
|||||||
|
|
||||||
# ============================== Exports
|
# ============================== Exports
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
export VISUAL="nvim"
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
export PATH=$PATH:$HOME/.local/bin:$HOME/scripts:$HOME/.cargo/bin
|
export PATH=$PATH:$HOME/.local/bin:$HOME/scripts:$HOME/.cargo/bin
|
||||||
|
|
||||||
|
|||||||
17
files/scripts/polybar.sh
Executable file
17
files/scripts/polybar.sh
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
killall -q polybar
|
||||||
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
|
if type "xrandr"; then
|
||||||
|
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
|
if [ $mon = "eDP" ]; then
|
||||||
|
MONITOR=$mon polybar --reload laptop &
|
||||||
|
elif [ $mon = "DP-3" ]; then
|
||||||
|
MONITOR="DP-3" polybar --reload desktop &
|
||||||
|
MONITOR="DP-1" polybar --reload desktop_second &
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
else
|
||||||
|
echo "No Bars loaded."
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user