Updoots
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
+ Editor: emacs (nvim as fallback)
|
+ Editor: emacs (nvim as fallback)
|
||||||
+ File-Browser: ranger
|
+ File-Browser: ranger
|
||||||
+ Image-Viewer: sxiv
|
+ Image-Viewer: sxiv
|
||||||
+ Launcher: dmenu
|
+ Launcher: [dmenu](https://github.com/crammk/dmenu)
|
||||||
+ Music: spotify
|
+ Music: spotify
|
||||||
+ Pdf-Viewer: zathura with mupdf
|
+ Pdf-Viewer: zathura with mupdf
|
||||||
+ Screenshots: Flameshot
|
+ Screenshots: Flameshot
|
||||||
|
|||||||
@@ -72,11 +72,7 @@ bindsym $mod+comma workspace prev
|
|||||||
bindsym $mod+period workspace next
|
bindsym $mod+period workspace next
|
||||||
|
|
||||||
# dmenu
|
# dmenu
|
||||||
set $fg '#ffffff'
|
bindsym $mod+d exec "dmenu_run"
|
||||||
set $bg '#1C1B1D'
|
|
||||||
set $accent '#98c379'
|
|
||||||
set $font 'Product Sans:pixelsize=15'
|
|
||||||
bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $bg -nf $fg -sf $accent"
|
|
||||||
|
|
||||||
# Screenhot
|
# Screenhot
|
||||||
bindsym $mod+Shift+s exec "flameshot gui"
|
bindsym $mod+Shift+s exec "flameshot gui"
|
||||||
@@ -158,4 +154,4 @@ 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
|
||||||
|
|
||||||
# ============================== Startup
|
# ============================== Startup
|
||||||
exec ~/scripts/run_on_startup.sh
|
#exec ~/scripts/run_on_startup.sh
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ width = 100%
|
|||||||
padding-left = 3
|
padding-left = 3
|
||||||
padding-right = 3
|
padding-right = 3
|
||||||
|
|
||||||
|
|
||||||
module-margin-left = 5
|
module-margin-left = 5
|
||||||
module-margin-center = 5
|
module-margin-center = 5
|
||||||
|
|
||||||
@@ -61,12 +62,12 @@ wm-restack = i3
|
|||||||
|
|
||||||
modules-left = i3 spotify
|
modules-left = i3 spotify
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = memory cpu volume sep
|
modules-right = volume sep
|
||||||
|
|
||||||
[bar/laptop]
|
[bar/laptop]
|
||||||
inherit = bar/main
|
inherit = bar/main
|
||||||
|
|
||||||
modules-right = memory cpu volume battery sep
|
modules-right = volume battery sep
|
||||||
|
|
||||||
# ======================================== MODULES
|
# ======================================== MODULES
|
||||||
[module/i3]
|
[module/i3]
|
||||||
|
|||||||
46
files/.xinitrc
Executable file
46
files/.xinitrc
Executable file
@@ -0,0 +1,46 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# ~/.xinitrc
|
||||||
|
#
|
||||||
|
# Executed by startx
|
||||||
|
|
||||||
|
userresources=$HOME/.Xresources
|
||||||
|
usermodmap=$HOME/.Xmodmap
|
||||||
|
|
||||||
|
# merge in defaults and keymaps
|
||||||
|
if [ -f "$userresources" ]; then
|
||||||
|
xrdb -merge "$userresources"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$usermodmap" ]; then
|
||||||
|
xmodmap "$usermodmap"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# start some nice programs
|
||||||
|
# TODO: is this needed?
|
||||||
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
|
[ -x "$f" ] && . "$f"
|
||||||
|
done
|
||||||
|
unset f
|
||||||
|
fi
|
||||||
|
#xset r rate 660 25
|
||||||
|
|
||||||
|
# keyboard layout
|
||||||
|
setxkbmap -layout za
|
||||||
|
|
||||||
|
# start programs
|
||||||
|
fcitx -d &
|
||||||
|
nextcloud &
|
||||||
|
dunst &
|
||||||
|
picom &
|
||||||
|
nm-applet &
|
||||||
|
|
||||||
|
# launch bar
|
||||||
|
$HOME/scripts/polybar.sh
|
||||||
|
|
||||||
|
# wallpaper
|
||||||
|
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
|
||||||
|
#asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 &
|
||||||
|
|
||||||
|
exec i3
|
||||||
@@ -41,6 +41,7 @@ export WINIT_UNIX_BACKEND=x11
|
|||||||
# ============================== Aliases
|
# ============================== Aliases
|
||||||
alias fontslist="fc-list :scalable=true:spacing=mono: family"
|
alias fontslist="fc-list :scalable=true:spacing=mono: family"
|
||||||
alias fontscache="fc-cache -f -v"
|
alias fontscache="fc-cache -f -v"
|
||||||
|
alias accent="echo #98c379"
|
||||||
|
|
||||||
alias hm="cd ~/dev/hm-aufgaben"
|
alias hm="cd ~/dev/hm-aufgaben"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERBOSE=$1
|
VERBOSE=$1
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ mkdir -p $HOME/.emacs.d
|
|||||||
ln -sf $path/init.el $HOME/.emacs.d/init.el
|
ln -sf $path/init.el $HOME/.emacs.d/init.el
|
||||||
|
|
||||||
# Home directory
|
# Home directory
|
||||||
home_files=".bashrc .zshrc .gitconfig .tmux.conf .vimrc .Xresources"
|
home_files=".bashrc .zshrc .gitconfig .tmux.conf .vimrc .Xresources .xinitrc"
|
||||||
for file in $home_files
|
for file in $home_files
|
||||||
do
|
do
|
||||||
ln -sf $path/$file $HOME/$file
|
ln -sf $path/$file $HOME/$file
|
||||||
@@ -23,6 +23,10 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# properly add startx files
|
||||||
|
chmod +x $HOME/.xinitrc
|
||||||
|
ln -s $HOME/.xinitrc $HOME/.xsession
|
||||||
|
|
||||||
# .config directory
|
# .config directory
|
||||||
conf_files="alacritty dunst i3 nvim picom.conf polybar ranger zathura"
|
conf_files="alacritty dunst i3 nvim picom.conf polybar ranger zathura"
|
||||||
for file in $conf_files
|
for file in $conf_files
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# set keyboard layout
|
# set keyboard layout
|
||||||
setxkbmap -layout za
|
setxkbmap -layout za
|
||||||
@@ -11,10 +11,10 @@ picom &
|
|||||||
nm-applet &
|
nm-applet &
|
||||||
|
|
||||||
# adjust screens on nazarick
|
# adjust screens on nazarick
|
||||||
~/scripts/fix_screens.sh
|
$HOME/scripts/fix_screens.sh
|
||||||
|
|
||||||
# launch polybar
|
# launch polybar
|
||||||
~/scripts/polybar.sh &
|
$HOME/scripts/polybar.sh &
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
|
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
|
||||||
|
|||||||
Reference in New Issue
Block a user