Browse Source

Remove all settings for retired laptop

master
Maxime Wack 2 years ago
parent
commit
9e240f3608
6 changed files with 5 additions and 47 deletions
  1. +1
    -1
      .config/bin/panel
  2. +1
    -1
      .config/bin/tray
  3. +1
    -22
      .config/bspwm/bspwmrc
  4. +1
    -11
      .config/conky/conky.lua
  5. +1
    -8
      .emacs
  6. +0
    -4
      .xinitrc

+ 1
- 1
.config/bin/panel View File

@@ -35,7 +35,7 @@ case $HOST in
volume -sf 'VS%s' > "$PANEL_FIFO" & volume -sf 'VS%s' > "$PANEL_FIFO" &
volume -sf 'VI%i' > "$PANEL_FIFO" & volume -sf 'VI%i' > "$PANEL_FIFO" &
;; ;;
laptop|hegp-laptop|tablet)
hegp-laptop|tablet)
width=1900 width=1900
height=24 height=24
size=10 size=10


+ 1
- 1
.config/bin/tray View File

@@ -1,7 +1,7 @@
#!/bin/zsh #!/bin/zsh


case $HOST in case $HOST in
laptop|hegp-laptop|tablet) width=1590;;
hegp-laptop|tablet) width=1590;;
hegp) width=3500;; hegp) width=3500;;
esac esac




+ 1
- 22
.config/bspwm/bspwmrc View File

@@ -23,7 +23,7 @@ echo 1 > /tmp/lastdesk


# Monitors # Monitors
case $HOST in case $HOST in
laptop|hegp-laptop|tablet)
hegp-laptop|tablet)
bspc monitor eDP1 -d   1 bspc monitor eDP1 -d   1
;; ;;
home) home)
@@ -50,16 +50,6 @@ bspc rule -a mpv:webcam sticky=on state=fullscreen layer=below


# Popup CLI apps # Popup CLI apps
case $HOST in case $HOST in
laptop)
bspc rule -a kitty:Ranger sticky=on state=floating rectangle=1820x900+0+0 center=on
bspc rule -a kitty:Music_playlist sticky=on state=floating rectangle=430x470+30+64
bspc rule -a kitty:Music_media sticky=on state=floating rectangle=430x476+30+574
bspc rule -a kitty:Music_playlist_home sticky=on state=floating rectangle=430x470+30+64
bspc rule -a kitty:Music_media_home sticky=on state=floating rectangle=430x476+30+574
bspc rule -a kitty:Volume sticky=on state=floating rectangle=530x270+1360+64
bspc rule -a kitty:Torrent sticky=on state=floating rectangle=530x676+1360+374
bspc rule -a kitty:castero sticky=on state=floating rectangle=830x470+490+574
;;
home) home)
bspc rule -a kitty:Ranger sticky=on state=floating rectangle=1820x900+0+0 center=on bspc rule -a kitty:Ranger sticky=on state=floating rectangle=1820x900+0+0 center=on
bspc rule -a kitty:Music_playlist desktop= bspc rule -a kitty:Music_playlist desktop=
@@ -123,16 +113,6 @@ panel &


# Applications # Applications
case $HOST in case $HOST in
laptop)
unclutter &
telegram-desktop &
slack &
bspc config top_padding 14
sleep 1
nm-applet --sm-disable &
synergys &
tray &
;;
hegp-laptop) hegp-laptop)
unclutter & unclutter &
slack & slack &
@@ -140,7 +120,6 @@ case $HOST in
sleep 1 sleep 1
nm-applet --sm-disable & nm-applet --sm-disable &
xsetwacom set "Wacom HID 48CA Pen stylus" "Button" "2" "button +3" xsetwacom set "Wacom HID 48CA Pen stylus" "Button" "2" "button +3"
# autorotate &
blueman-applet & blueman-applet &
gnome-pie & gnome-pie &
onboard & onboard &


+ 1
- 11
.config/conky/conky.lua View File

@@ -10,17 +10,7 @@ cur = 1
-- SETTINGS -- SETTINGS
hostname = conky_parse("$nodename") hostname = conky_parse("$nodename")


if hostname == "laptop" then
screenWidth = 1920
screenHeight = 1080
nbCPU = 4
FSs = {"/", "/var", "/home"}
ladapter = "eth0" -- eno1
wadapter = "wlan0"
ntop = 10
hwmon = 1
sensor = 2
elseif hostname == "tablet" then
if hostname == "tablet" then
screenWidth = 1920 screenWidth = 1920
screenHeight = 1080 screenHeight = 1080
nbCPU = 8 nbCPU = 8


+ 1
- 8
.emacs View File

@@ -2287,9 +2287,6 @@ If SELECT is non-nil, select the target window."
((equal (system-name) "tablet") ((equal (system-name) "tablet")
(setq mu4e-get-mail-command "mbsync free" (setq mu4e-get-mail-command "mbsync free"
mu4e-refile-folder "/Archives")) mu4e-refile-folder "/Archives"))
((equal (system-name) "laptop")
(setq mu4e-get-mail-command "mbsync free"
mu4e-refile-folder "/Archives"))
((equal (system-name) "hegp-laptop") ((equal (system-name) "hegp-laptop")
(setq mu4e-get-mail-command "mbsync free" (setq mu4e-get-mail-command "mbsync free"
mu4e-refile-folder "/Archives"))) mu4e-refile-folder "/Archives")))
@@ -2410,11 +2407,7 @@ ALL-EMAILS are all the unread emails"
message-send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it
send-mail-function 'smtpmail-send-it) send-mail-function 'smtpmail-send-it)


(cond ((equal (system-name) "laptop") ; Mail accounts
(setq smtpmail-smtp-server "smtp.free.fr"
user-mail-address "maximewack@free.fr"
auth-sources '(password-store)))
((equal (system-name) "tablet") ; Mail accounts
(cond ((equal (system-name) "tablet") ; Mail accounts
(setq smtpmail-smtp-server "smtp.free.fr" (setq smtpmail-smtp-server "smtp.free.fr"
user-mail-address "maximewack@free.fr" user-mail-address "maximewack@free.fr"
auth-sources '(password-store))) auth-sources '(password-store)))


+ 0
- 4
.xinitrc View File

@@ -8,10 +8,6 @@ xrdb -merge ~/.Xresources
xset -dpms xset -dpms
xset s off xset s off


if [ "$HOST" = "laptop" ];then
syndaemon -t -k -i 1 &
fi

ibus-daemon -drx ibus-daemon -drx


exec ./.bspwm-session exec ./.bspwm-session

Loading…
Cancel
Save