Rollback sur i3

This commit is contained in:
Breizh 2022-02-26 22:34:40 +01:00
parent 7d7fa29d16
commit ae1a585935
11 changed files with 40 additions and 50 deletions

View File

@ -21,8 +21,10 @@ if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=qt5ct export QT_QPA_PLATFORMTHEME=qt5ct
export BROWSER="systemd-run --user --scope -p MemoryMax=2G -p MemorySwapMax=3G -E MOZ_ENABLE_WAYLAND=1 firefox" export BROWSER="systemd-run --user --scope -p MemoryMax=2G -p MemorySwapMax=3G -E MOZ_ENABLE_WAYLAND=1 firefox"
export TERMINAL=footclient export TERMINAL=urxvtc
exec sway export XDG_CURRENT_DESKTOP=i3
# exec sway -d 2> $HOME/.sway.log
exec startx
elif [ "$XDG_VTNR" -ne 6 ]; then elif [ "$XDG_VTNR" -ne 6 ]; then
export BROWSER=elinks export BROWSER=elinks
fish fish

View File

@ -1,8 +1,8 @@
; Global settings ; Global settings
[general] [general]
; Set the day and night screen temperatures ; Set the day and night screen temperatures
temp-day=4500 temp-day=5000
temp-night=3400 temp-night=4000
; Disable the smooth fade between temperatures when Redshift starts and stops. ; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures. ; 0 will cause an immediate change between screen temperatures.
@ -60,7 +60,7 @@ lon=-1.63750
; Configuration of the adjustment-method ; Configuration of the adjustment-method
; type 'gammastep -m METHOD:help' to see the settings. ; type 'gammastep -m METHOD:help' to see the settings.
; ex: 'gammastep -m randr:help' ; example: 'gammastep -m randr:help'
; In this example, randr is configured to adjust only screen 0. ; In this example, randr is configured to adjust only screen 0.
; Note that the numbering starts from 0, so this is actually the first screen. ; Note that the numbering starts from 0, so this is actually the first screen.
; If this option is not specified, Redshift will try to adjust _all_ screens. ; If this option is not specified, Redshift will try to adjust _all_ screens.

View File

@ -21,7 +21,7 @@ highlight_changes_delay_secs=5
find_comm_in_cmdline=1 find_comm_in_cmdline=1
strip_exe_from_cmdline=1 strip_exe_from_cmdline=1
show_merged_command=1 show_merged_command=1
tree_view=1 tree_view=0
tree_view_always_by_pid=0 tree_view_always_by_pid=0
all_branches_collapsed=0 all_branches_collapsed=0
header_margin=1 header_margin=1

View File

@ -359,7 +359,6 @@ exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc2"
exec_always --no-startup-id setcursor exec_always --no-startup-id setcursor
exec claws-mail --online exec claws-mail --online
exec --no-startup-id urxvtc -name newsboat -e newsboat exec --no-startup-id urxvtc -name newsboat -e newsboat
exec --no-startup-id xinput --disable "AlpsPS/2 ALPS DualPoint TouchPad"
exec --no-startup-id redshift-gtk exec --no-startup-id redshift-gtk
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id steam-native -silent -noverifyfiles -language french exec --no-startup-id steam-native -silent -noverifyfiles -language french

View File

@ -171,15 +171,15 @@ interval=600
# The first parameter sets the step (and units to display) # The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection # The second parameter overrides the mixer selection
# See the script for details. # See the script for details.
#[toggle-sink] [toggle-sink]
#interval=once interval=once
#separator=false separator=false
#separator_block_width=0 separator_block_width=0
[volume] [volume]
#instance=vol #instance=vol
#instance=PCM #instance=PCM
label=vol #label=vol
interval=once interval=once
signal=10 signal=10
separator=false separator=false
@ -226,18 +226,18 @@ interval=once
interval=1 interval=1
markup=none markup=none
[steam] #[steam]
full_text= #full_text=
#command=swaymsg -q exec "steam-native +open steam://open/minigameslist" ##command=swaymsg -q exec "steam-native +open steam://open/minigameslist"
command=swaymsg -q exec "steam-native" #command=swaymsg -q exec "steam-native"
interval=0 #interval=0
separator=false #separator=false
#
[claws-mail] #[claws-mail]
interval=60 #interval=60
signal=11 #signal=11
separator=false #separator=false
#
[variety] #[variety]
interval=30 #interval=30
signal=12 #signal=12

View File

@ -28,7 +28,7 @@ set viewmode miller
#set viewmode multipane #set viewmode multipane
# How many columns are there, and what are their relative widths? # How many columns are there, and what are their relative widths?
set column_ratios 1,3,4 set column_ratios 1,3,3
# Which files should be hidden? (regular expression) # Which files should be hidden? (regular expression)
set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$

View File

@ -7,10 +7,10 @@ if [[ -n "$button" ]]
then then
if [[ "$currentport" == "Active Port: analog-output-lineout" ]] if [[ "$currentport" == "Active Port: analog-output-lineout" ]]
then then
pactl set-sink-port "alsa_output.pci-0000_0b_00.3.analog-stereo" "analog-output-headphones" pactl set-sink-port "alsa_output.pci-0000_29_00.3.analog-stereo" "analog-output-headphones"
echo "casque" echo "casque"
else else
pactl set-sink-port "alsa_output.pci-0000_0b_00.3.analog-stereo" "analog-output-lineout" pactl set-sink-port "alsa_output.pci-0000_29_00.3.analog-stereo" "analog-output-lineout"
echo "front " echo "front "
fi fi
pkill -RTMIN+10 i3blocks pkill -RTMIN+10 i3blocks

View File

@ -13,7 +13,12 @@ if [[ "$mcstatus" == "T" ]]
then then
echo . >> /dev/shm/mccount echo . >> /dev/shm/mccount
else else
> /dev/shm/mccount players_tmp=($(mcstatus localhost query | grep players))
players="${players_tmp[1]%%/*}"
if [[ "$players" -gt 0 ]]
then
> /dev/shm/mccount
fi
fi fi
time=$(wc -l /dev/shm/mccount | cut -d" " -f1) time=$(wc -l /dev/shm/mccount | cut -d" " -f1)

View File

@ -7,6 +7,6 @@ do
echo "$line" > /run/minecraft-server.stdin echo "$line" > /run/minecraft-server.stdin
else else
echo "say $line" > /run/minecraft-server.stdin echo "say $line" > /run/minecraft-server.stdin
# echo "dynmap sendtoweb $line" > /run/minecraft-server.stdin echo "dynmap sendtoweb $line" > /run/minecraft-server.stdin
fi fi
done done

View File

@ -1,5 +1,6 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =5 let g:netrw_dirhistcnt =6
let g:netrw_dirhist_6='/home/breizh/.config'
let g:netrw_dirhist_5='/home/breizh/.config/base16-shell' let g:netrw_dirhist_5='/home/breizh/.config/base16-shell'
let g:netrw_dirhist_4='/home/breizh/.config' let g:netrw_dirhist_4='/home/breizh/.config'
let g:netrw_dirhist_3='/home/breizh/.config/fish' let g:netrw_dirhist_3='/home/breizh/.config/fish'
@ -9,4 +10,3 @@ let g:netrw_dirhist_0='/home/breizh'
let g:netrw_dirhist_9='/home/breizh/.local/share' let g:netrw_dirhist_9='/home/breizh/.local/share'
let g:netrw_dirhist_8='/home/breizh/aur' let g:netrw_dirhist_8='/home/breizh/aur'
let g:netrw_dirhist_7='/home/breizh/.ncmpcpp' let g:netrw_dirhist_7='/home/breizh/.ncmpcpp'
let g:netrw_dirhist_6='/home/breizh/.config/fish'

View File

@ -8,15 +8,7 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps # merge in defaults and keymaps
if [ -f $sysresources ]; then if [ -f $sysresources ]; then
xrdb -merge $sysresources xrdb -merge $sysresources
fi fi
if [ -f $sysmodmap ]; then if [ -f $sysmodmap ]; then
@ -24,15 +16,7 @@ if [ -f $sysmodmap ]; then
fi fi
if [ -f "$userresources" ]; then if [ -f "$userresources" ]; then
xrdb -merge "$userresources" xrdb -merge "$userresources"
fi fi
if [ -f "$usermodmap" ]; then if [ -f "$usermodmap" ]; then