+ Xresources rework

- Removed tiling layout icon (re-adding later)
+ Qtile autostart, and keys rework
+ Firefox to $BROWSER (Set in .config/zsh/.zshenv)
- Uninstalled XFCE4 (Uninstalling GNOME later)
+ Edited Xprofile
+ Added more Environment Variable and Aliases
? Screenshot delayed 1sec for compton/picom's fading
This commit is contained in:
ziro 2020-05-16 14:33:19 +07:00
parent 358af43565
commit 7ee29cbad5
11 changed files with 58 additions and 51 deletions

View file

@ -9,7 +9,7 @@ URxvt.font: xft:Iosevka:size=10, \
xft:Inconsolata Nerd Font Mono:size=10, \ xft:Inconsolata Nerd Font Mono:size=10, \
xft:DejaVuSansMono Nerd Font:size=10, \ xft:DejaVuSansMono Nerd Font:size=10, \
xft:DroidSansMono Nerd Font:size=10, \ xft:DroidSansMono Nerd Font:size=10, \
xft:FuraMono Nerd Font:size=10, \ xft:FiraMono Nerd Font:size=10, \
xft:RobotoMono Nerd Font:size=10, \ xft:RobotoMono Nerd Font:size=10, \
xft:Noto Sans Mono:size=10, \ xft:Noto Sans Mono:size=10, \
xft:Monospace:style=Medium:size=10 xft:Monospace:style=Medium:size=10
@ -41,35 +41,37 @@ URxvt.urlLauncher: brave
URxvt.underlineURLs: true URxvt.underlineURLs: true
URxvt.urlButton: 1 URxvt.urlButton: 1
st*font: xft:Iosevka:size=10:antialias=true:autohint=true st*font: Iosevka Nerd Font:size=10:antialias=true:autohint=true
st*font2: UbuntuMono Nerd Font:size=10:antialias=true:autohint=true
st*depth: 32 st*depth: 32
st*bold_font: 0 st*bold_font: 0
st*background: #1d1f21 st*background: #1d1f21
st*foreground: #f5f6fa st*foreground: #f5f6fa
st*cursorColor: #8d9b53 st*cursorColor: #8d9b53
st.termname: xterm-256color st*termname: st-256color
st.shell: /bin/zsh st*shell: /bin/zsh
st.bellvolume: 0 st*bellvolume: 0
st.tabspaces: 8 st*tabspaces: 8
st.chscale: 1.0 st*chscale: 1.0
st.cwscale: 1.0 st*cwscale: 1.0
!st.color0: #353540 st*color0: #353b48
!st.color8: #545466 st*color8: #2f3640
!st.color1: #8c5760 st*color1: #e84118
!st.color9: #b26f7a st*color9: #c23616
!st.color2: #7b8c58 st*color2: #4cd137
!st.color10: #9db270 st*color10: #44bd32
!st.color3: #8c6e43 st*color3: #fbc531
!st.color11: #b28c55 st*color11: #e1b12c
!st.color4: #58698c st*color4: #60C0FF
!st.color12: #7086b2 st*color12: #0EA0FF
!st.color5: #7b5e7d st*color5: #6B85FF
!st.color13: #9c77b2 st*color13: #4466ff
!st.color6: #66808c st*color6: #487eb0
!st.color14: #82a2b2 st*color14: #40739e
!st.color7: #8c8b8b st*color7: #f5f6fa
!st.color15: #b8b8c8 st*color15: #c5c8c6
st*alpha: 0.8
!! Rofi !! Rofi
!config !config
@ -110,5 +112,5 @@ rofi.show-icons: true
*.color14: #40739e *.color14: #40739e
! white ! white
*.color7: #c5c8c6 *.color7: #f5f6fa
*.color15: #f5f6fa *.color15: #c5c8c6

View file

@ -168,31 +168,31 @@ label-empty-padding = 2
;label-empty-underline = #7f8fa6 ;label-empty-underline = #7f8fa6
;label-empty-background = #434758 ;label-empty-background = #434758
label-monocle = "" label-monocle = ""
label-monocle-padding = 2 label-monocle-padding = 2
;label-monocle-background = #0097e6 ;label-monocle-background = #0097e6
label-monocle-foreground = ${colors.foreground} label-monocle-foreground = ${colors.foreground}
label-tiled = "" label-tiled = ""
label-tiled-padding = 2 label-tiled-padding = 2
;label-tiled-background = #0097e6 ;label-tiled-background = #0097e6
label-tiled-foreground = ${colors.foreground} label-tiled-foreground = ${colors.foreground}
label-fullscreen = "" label-fullscreen = ""
label-fullscreen-padding = 2 label-fullscreen-padding = 2
;label-fullscreen-background = #0097e6 ;label-fullscreen-background = #0097e6
label-fullscreen-foreground = ${colors.foreground} label-fullscreen-foreground = ${colors.foreground}
label-floating = "" label-floating = ""
label-floating-padding = 2 label-floating-padding = 2
;label-floating-background = #0097e6 ;label-floating-background = #0097e6
label-floating-foreground = ${colors.foreground} label-floating-foreground = ${colors.foreground}
label-pseudotiled = "" label-pseudotiled = ""
label-pseudotiled-padding = 2 label-pseudotiled-padding = 2
;label-pseudotiled-background = #0097e6 ;label-pseudotiled-background = #0097e6
label-pseudotiled-foreground = ${colors.foreground} label-pseudotiled-foreground = ${colors.foreground}
label-locked = "" label-locked = ""
label-locked-foreground = ${colors.foreground} label-locked-foreground = ${colors.foreground}
label-sticky = "" label-sticky = ""
label-sticky-foreground = ${colors.foreground} label-sticky-foreground = ${colors.foreground}
label-private = "" label-private = ""
label-private-foreground = ${colors.foreground} label-private-foreground = ${colors.foreground}
; Separator in between workspaces ; Separator in between workspaces

View file

@ -26,6 +26,7 @@ def window_to_next_group(qtile):
i = qtile.groups.index(qtile.currentGroup) i = qtile.groups.index(qtile.currentGroup)
qtile.currentWindow.togroup(qtile.groups[i + 1].name) qtile.currentWindow.togroup(qtile.groups[i + 1].name)
# ----- Keys
keys = [ keys = [
Key( Key(
[mod, 'control'], 'q', [mod, 'control'], 'q',
@ -44,11 +45,11 @@ keys = [
lazy.window.kill() # Kill active window lazy.window.kill() # Kill active window
), ),
Key( Key(
[mod, "shift"], "r", [mod, "mod1"], "r",
lazy.restart() # Restart Qtile lazy.restart() # Restart Qtile
), ),
Key( Key(
[mod, "shift"], "q", [mod, "mod1"], "q",
lazy.shutdown() # Shutdown Qtile lazy.shutdown() # Shutdown Qtile
), ),
Key([mod], "w", Key([mod], "w",

View file

@ -9,7 +9,7 @@ function run {
#feh --bg-scale ~/my Files/wallpaper.jpg & #feh --bg-scale ~/my Files/wallpaper.jpg &
nitrogen --restore & nitrogen --restore &
compton & picom &
conky & conky &
#pidgin & #pidgin &
#dropbox start & #dropbox start &

View file

@ -22,7 +22,7 @@ super + Escape
# prompt (restart/suspend/shutdown/logout) # prompt (restart/suspend/shutdown/logout)
super + control + q super + control + q
sh $HOME/.scripts/prompt sh $SCRIPTS/prompt
super + control + r super + control + r
sh $HOME/.scripts/resolution.sh sh $HOME/.scripts/resolution.sh
@ -138,9 +138,9 @@ super + alt + v
# games # games
super + alt + p super + alt + p
sh $HOME/.scripts/play.sh sh $HOME/.scripts/play.sh
# firefox # browser
super + alt + b super + alt + b
firefox $BROWSER
# passmenu # passmenu
alt + y alt + y
passmenu passmenu

View file

@ -1 +0,0 @@
/usr/bin/gnome-session

View file

@ -1 +0,0 @@
/usr/bin/startxfce4

View file

@ -6,9 +6,10 @@
# Autostarts # Autostarts
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources & xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources &
unclutter & unclutter &
dunst &
# Custom Resolutions # Custom Resolutions
xrandr --newmode "768x432_60.00" 25.75 768 792 864 960 432 435 440 450 -hsync +vsync xrandr --newmode "768x432" 25.75 768 792 864 960 432 435 440 450 -hsync +vsync
xrandr --newmode "960x540_60.00" 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync xrandr --newmode "960x540" 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync
xrandr --addmode VGA1 768x432_60.00 xrandr --addmode VGA1 768x432
xrandr --addmode VGA1 960x540_60.00 xrandr --addmode VGA1 960x540

View file

@ -25,7 +25,9 @@ export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
#cleaning up #cleaning up
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
export SCRIPTS="$HOME/.scripts"
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi" export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export WGETRC="$XDG_CONFIG_HOME/wgetrc" export WGETRC="$XDG_CONFIG_HOME/wgetrc"
@ -33,6 +35,7 @@ export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default" export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android" export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME/android"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo" export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"

View file

@ -57,6 +57,8 @@ alias lla='exa -al --color=always --group-directories-first' # long format
alias lt='exa -aT --color=always --group-directories-first' # tree listing alias lt='exa -aT --color=always --group-directories-first' # tree listing
alias reUSD='rm -rf /tmp/rate.html /tmp/rateUSD.txt' alias reUSD='rm -rf /tmp/rate.html /tmp/rateUSD.txt'
alias upElearn='sh $HOME/.scripts/elearning-isitup.sh' alias upElearn='sh $HOME/.scripts/elearning-isitup.sh'
alias ranger='lf'
#alias mpv='mpv --geometry=1280x720'
#config shortcuts #config shortcuts
alias cfvim='vim $XDG_CONFIG_HOME/vim/vimrc' alias cfvim='vim $XDG_CONFIG_HOME/vim/vimrc'
alias cfbash='vim $HOME/.bashrc' alias cfbash='vim $HOME/.bashrc'

View file

@ -15,7 +15,7 @@ message="What type of screenshot?"
chosen=$(echo -en "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/Android/four.rasi) chosen=$(echo -en "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/Android/four.rasi)
case "$chosen" in case "$chosen" in
$quickSS) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;; $quickSS) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -d 1 -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
$timer) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -d 5 -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;; $timer) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -d 5 -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
$select) scrot -s '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;; $select) scrot -s '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
esac esac