mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-16 00:51:35 +09:00
emacs : follow symlinks / bspwm : selecting options using env
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#xrandr --output DP-4 --primary --mode 2560x1440 --rotate normal --output HDMI-0 --rotate right --right-of DP-4
|
|
||||||
|
if [[ $JUPCID == "HOME-DESKTOP" ]]; then
|
||||||
|
xrandr --output DP-4 --primary --mode 2560x1440 --rotate normal --output HDMI-0 --rotate right --right-of DP-4
|
||||||
|
fi
|
||||||
|
|
||||||
killall bspc
|
killall bspc
|
||||||
|
|
||||||
@ -20,10 +23,12 @@ killall volumeicon && volumeicon &
|
|||||||
wmname LG3D
|
wmname LG3D
|
||||||
export _JAVA_AWT_WM_NONREPARETING=1
|
export _JAVA_AWT_WM_NONREPARETING=1
|
||||||
|
|
||||||
bspc monitor -d 1 2 3 4 5
|
if [[ $JUPCID == "HOME-DESKTOP" ]]; then
|
||||||
#bspc monitor DP-4 -d 1 2 3 4 5
|
bspc monitor DP-4 -d 1 2 3 4 5
|
||||||
#bspc monitor HDMI-0 -d 6 7 8 9 0
|
bspc monitor HDMI-0 -d 6 7 8 9 0
|
||||||
|
else
|
||||||
|
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
|
||||||
|
fi
|
||||||
|
|
||||||
bspc config border_width 2
|
bspc config border_width 2
|
||||||
bspc config window_gap 10
|
bspc config window_gap 10
|
||||||
@ -67,5 +72,9 @@ bspc rule -a \* state=tiled
|
|||||||
#fi
|
#fi
|
||||||
|
|
||||||
# TODO heres polybar
|
# TODO heres polybar
|
||||||
polybar panel-bspwm
|
if [[ $JUPCID == "HWDEV" ]]; then
|
||||||
|
polybar panel-bspwm --config=~/.config/polybar/config.ini
|
||||||
|
else
|
||||||
|
polybar panel-bspwm
|
||||||
|
fi
|
||||||
#polybar panel-bspwm-2
|
#polybar panel-bspwm-2
|
||||||
|
|||||||
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
(setq auto-mode-case-fold nil)
|
(setq auto-mode-case-fold nil)
|
||||||
|
|
||||||
|
(setq vc-follow-symlinks t) ;; always follow symlink
|
||||||
|
|
||||||
(unless (or (daemonp) noninteractive init-file-debug)
|
(unless (or (daemonp) noninteractive init-file-debug)
|
||||||
;; Prevent flashing of messages at startup
|
;; Prevent flashing of messages at startup
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
|
|||||||
@ -8,6 +8,8 @@
|
|||||||
(global-unset-key (kbd "C-j"))
|
(global-unset-key (kbd "C-j"))
|
||||||
(global-unset-key (kbd "C-k"))
|
(global-unset-key (kbd "C-k"))
|
||||||
(global-unset-key (kbd "S-SPC")) ;; input method / use only S-\
|
(global-unset-key (kbd "S-SPC")) ;; input method / use only S-\
|
||||||
|
(global-set-key (kbd "C-=") 'text-scale-increase)
|
||||||
|
(global-set-key (kbd "C--") 'text-scale-decrease)
|
||||||
|
|
||||||
;; When you begin a keybind, whichkey will show you all keybinds you can follow the first one with in order to form a full keywords.
|
;; When you begin a keybind, whichkey will show you all keybinds you can follow the first one with in order to form a full keywords.
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#Config file for simple X hotkey daemon
|
#Config file for simple X hotkey daemon
|
||||||
|
|
||||||
super+Return
|
super+Return
|
||||||
# st
|
|
||||||
alacritty
|
alacritty
|
||||||
#Apps and programs
|
#Apps and programs
|
||||||
super+e
|
super+e
|
||||||
@ -23,6 +22,12 @@ super+t
|
|||||||
# close & kill
|
# close & kill
|
||||||
super+shift+c
|
super+shift+c
|
||||||
bspc node -c
|
bspc node -c
|
||||||
|
super+shift+q
|
||||||
|
killall picom & killall sxhkd & bspc quit
|
||||||
|
super+shift+e
|
||||||
|
rofi -mode drun -theme solarized -font "hack 20" -show combi
|
||||||
|
alt+Tab
|
||||||
|
rofi -mode window -theme solarized -font "hack 20" -show
|
||||||
|
|
||||||
##rofi things
|
##rofi things
|
||||||
##Launch apps
|
##Launch apps
|
||||||
@ -94,7 +99,7 @@ super+shift+c
|
|||||||
#
|
#
|
||||||
## Toggle picom
|
## Toggle picom
|
||||||
super+p
|
super+p
|
||||||
if [ "$(pgrep -c picom) -eq 0" ]; then; picom; else; killall picom; fi
|
if (pgrep -c picom); then; killall picom; else; picom; fi
|
||||||
super+w
|
super+w
|
||||||
~/scripts/random_wallpaper.sh
|
~/scripts/random_wallpaper.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user