From d9d3aaf3aba03a92405a7e094d59c46c4cb2c9db Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Mon, 12 Apr 2021 12:43:16 +0200 Subject: [PATCH] Update --- README.md | 5 +++-- files/.xinitrc | 7 +++++++ files/.zshrc | 8 -------- files/scripts/dwm_bar/song.sh | 2 +- files/scripts/fix_time.sh | 4 ++++ 5 files changed, 15 insertions(+), 11 deletions(-) create mode 100755 files/scripts/fix_time.sh diff --git a/README.md b/README.md index f7fb200..f4c8b9a 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,14 @@ ## Programs + Editor: emacs -+ File-Browser: ranger ++ File-Browser: ranger, thunar + tumbler + Image-Viewer: sxiv + Launcher: [dmenu](https://github.com/crammk/dmenu) ++ Lock: [slock](https://github.com/crammk/slock) + Music: spotify + Pdf-Viewer: zathura with mupdf + Screenshots: Flameshot -+ Video-Player: mpv ++ Video-Player: mpv, vlc ## Other Dependencies diff --git a/files/.xinitrc b/files/.xinitrc index 578d6fb..981eca6 100755 --- a/files/.xinitrc +++ b/files/.xinitrc @@ -26,6 +26,13 @@ dunst & picom & nm-applet & +# fcitx exports +export GTK_IM_MODULE='fcitx' +export QT_IM_MODULE='fcitx' +export SDL_IM_MODULE='fcitx' +export XMODIFIERS='@im=fcitx' +export WINIT_UNIX_BACKEND=x11 + # wallpaper feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png #asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 & diff --git a/files/.zshrc b/files/.zshrc index fae198e..a572ad0 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -49,19 +49,11 @@ export VISUAL="nvim" export LANG="en_US.UTF-8" export PATH=$PATH:$HOME/.local/bin:$HOME/scripts:$HOME/.cargo/bin -export GTK_IM_MODULE='fcitx' -export QT_IM_MODULE='fcitx' -export SDL_IM_MODULE='fcitx' -export XMODIFIERS='@im=fcitx' -export WINIT_UNIX_BACKEND=x11 - # ============================== Aliases alias fontslist="fc-list :scalable=true:spacing=mono: family" alias fontscache="fc-cache -f -v" alias accent="echo #98c379" -alias hm="cd ~/dev/hm-aufgaben" - if [[ -x $(which nvim 2> /dev/null) ]]; then alias vim="nvim" fi diff --git a/files/scripts/dwm_bar/song.sh b/files/scripts/dwm_bar/song.sh index b828106..84e88b4 100755 --- a/files/scripts/dwm_bar/song.sh +++ b/files/scripts/dwm_bar/song.sh @@ -33,5 +33,5 @@ function get_title () { [ ! -z "$(playerctl -p spotify status 2>/dev/null)" ] \ && artist=$(get_artist) \ && title=$(get_title) \ - && ([ -z "$artist$title" ] && scroll "" "Spotify is not connected on this pc" "" || scroll "$artist - $title" ) \ + && ([ -z "$artist$title" ] && scroll "" "Spotify is not connected on this pc" "" || scroll "$title - $artist" ) \ || exit 1 diff --git a/files/scripts/fix_time.sh b/files/scripts/fix_time.sh new file mode 100755 index 0000000..029d709 --- /dev/null +++ b/files/scripts/fix_time.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +timedatectl set-timezone Europe/Berlin +sudo hwclock --systohc