Removing i3status-rs
Working on docking and undocking scripts
This commit is contained in:
parent
ff48bd6f9a
commit
7955ee9b3e
|
@ -8,8 +8,10 @@ set $mod Mod4
|
|||
#workspace_layout stacking
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 0
|
||||
new_float normal
|
||||
new_window none
|
||||
#new_window pixel 0
|
||||
#new_float normal
|
||||
new_float none
|
||||
|
||||
# Hide borders
|
||||
hide_edge_borders none
|
||||
|
@ -155,10 +157,9 @@ bindsym $mod+Ctrl+0 exec --no-startup-id ~/.i3/workspaces/ws00.sh
|
|||
|
||||
# Open specific applications in floating mode
|
||||
for_window [class="^.*"] border pixel 0
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="feh"] floating enable sticky enable border normal
|
||||
for_window [class="mpv"] floating enable sticky enable border normal
|
||||
for_window [class="vlc"] floating enable sticky enable border normal
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border none
|
||||
for_window [class="feh"] floating enable sticky enable border none
|
||||
for_window [class="mpv"] floating enable sticky enable border none
|
||||
for_window [class="^jetbrains-.+"][window_type=dialog] focus
|
||||
|
||||
# reload the configuration file
|
||||
|
@ -171,12 +172,12 @@ bindsym $mod+Shift+r restart
|
|||
bindsym $mod+l exec --no-startup-id light-locker-command -l
|
||||
|
||||
# Autostart applications
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
exec --no-startup-id compton --config /home/jfm/.config/compton/compton.conf
|
||||
exec --no-startup-id nitrogen --restore
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id pasystray
|
||||
#exec --no-startup-id blueman-applet
|
||||
exec --no-startup-id light-locker
|
||||
exec --no-startup-id compton --config /home/jfm/.config/compton/compton.conf
|
||||
|
||||
# Color palette used for the terminal ( ~/.Xresources file )
|
||||
# Colors are gathered based on the documentation:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
xrandr --output DP1-2 --auto
|
||||
xrandr --output DP1-3 --auto
|
||||
|
||||
if [[ $(iwgetid -r) = *adazio* ]];
|
||||
then
|
||||
~/.i3/scripts/work-monitors.sh &
|
||||
|
@ -14,13 +17,19 @@ fi
|
|||
sleep 1
|
||||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 1:Comms; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2:Web; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 5:OC; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 6:Logs; move workspace to output $SECONDARY"
|
||||
i3-msg "workspace 7:Term; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 8:Media; move workspace to output $SECONDARY"
|
||||
echo $PRIMARY
|
||||
echo $SECONDARY
|
||||
echo $LAPTOP
|
||||
|
||||
i3-msg "workspace 1:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2:; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 3:; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 4:; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 5:; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 6:; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 7:; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 8:; move workspace to output $SECONDARY"
|
||||
i3-msg "workspace 9:; move workspace to output $SECONDARY"
|
||||
i3-msg "workspace 0:; move workspace to output $SECONDARY"
|
||||
|
||||
exit
|
||||
|
|
|
@ -12,5 +12,6 @@ export HDPI_PROFILE="laptop"
|
|||
EOM
|
||||
|
||||
. $ENV_FILE
|
||||
killall polybar &
|
||||
polybar primary &
|
||||
polybar secondary &
|
||||
|
|
|
@ -12,4 +12,5 @@ export HDPI_PROFILE="laptop"
|
|||
EOM
|
||||
|
||||
. $ENV_FILE
|
||||
killall polybar &
|
||||
polybar primary &
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output HDMI2 --off --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off
|
||||
xrandr --output HDMI2 --off --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off --output DP1-2 --off --output DP1-3 --off
|
||||
|
|
|
@ -10,13 +10,16 @@ echo $PRIMARY
|
|||
echo $SECONDARY
|
||||
echo $LAPTOP
|
||||
|
||||
i3-msg "workspace 1:Comms; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2:Web; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 3:IDE; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 4:Work; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 5:OC; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 6:Logs; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 7:Term; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
|
||||
|
||||
i3-msg "workspace 1:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 3:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 4:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 5:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 6:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 7:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 8:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 9:; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 0:; move workspace to output $LAPTOP"
|
||||
exit
|
|
@ -3,7 +3,7 @@
|
|||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP-1"
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="DP1-2"
|
||||
export SECONDARY="DP1-3"
|
||||
|
||||
|
@ -12,6 +12,7 @@ export HDPI_PROFILE="laptop"
|
|||
EOM
|
||||
|
||||
. $ENV_FILE
|
||||
killall polybar &
|
||||
polybar primary &
|
||||
polybar secondary &
|
||||
polybar laptop &
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
icons = "awesome"
|
||||
|
||||
[theme]
|
||||
name = "solarized-dark"
|
||||
[theme.overrides]
|
||||
idle_bg = "#93a1a1"
|
||||
idle_fg = "#ffffff"
|
||||
|
||||
[[block]]
|
||||
block = "custom"
|
||||
command = "~/.config/i3status-rs/gpmdp.sh"
|
||||
interval = 5
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "memory"
|
||||
format_mem = "{Mup}%"
|
||||
format_swap = "{SUp}%"
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
|
||||
[[block]]
|
||||
block = "pacman"
|
||||
interval = 10
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 10
|
||||
show = "percentage"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 60
|
||||
format = "%a %d/%m %R"
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
RUNNING_CMD=$(ps ax | grep gpmdp | wc -l)
|
||||
STATUS_CMD=$(gpmdp-remote status)
|
||||
CURRENT_CMD=$(gpmdp-remote current)
|
||||
ICON_PLAYING='\uf001'
|
||||
ICON_PAUSE='\uf04c'
|
||||
|
||||
if [ $RUNNING_CMD -gt 3 ]
|
||||
then
|
||||
if [ $STATUS_CMD == "Playing" ]
|
||||
then
|
||||
echo -e $ICON_PLAYING $(gpmdp-remote current)
|
||||
else
|
||||
current=$CURRENT_CMD
|
||||
if [ ${#current} -gt 3 ]
|
||||
then
|
||||
echo -e $ICON_PAUSE $(gpmdp-remote current)
|
||||
fi
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue