Merge branch 'gentoo-sway' of framagit.org:dbroqua/home into gentoo-sway

pull/1/head
dbroqua 2 years ago
commit b48762b46f
  1. 39
      bin/btswitch.sh
  2. 50
      config/bpytop/bpytop.conf
  3. 4
      config/sway/config
  4. 3
      config/waybar/config
  5. BIN
      icons/postman.png
  6. 0
      local/share/applications/DataGrip.desktop
  7. 0
      local/share/applications/Javaws.desktop
  8. 0
      local/share/applications/Minecraft.desktop
  9. 9
      local/share/applications/Postman.desktop
  10. 0
      local/share/applications/Ultimaker.desktop
  11. 0
      local/share/applications/Zettlr.desktop
  12. 1
      local/share/rofi/finder.sh
  13. 1
      local/share/rofi/rofi-file-browser.sh

@ -0,0 +1,39 @@
#! /bin/bash
HEADPHONE="88:D0:39:7D:6A:70"
SPEAKERS="EC:81:93:94:92:73"
if [ -z "$1" ]; then
echo "Missing profil"
echo "example: btswitch.sh <headphone|speakers>"
exit 1
fi
case ${1} in
headphone)
bluetoothctl disconnect ${SPEAKERS}
bluetoothctl connect ${HEADPHONE}
# INFO: Dirty
sleep 5
;;
speakers)
bluetoothctl disconnect ${HEADPHONE}
bluetoothctl connect ${SPEAKERS}
;;
*)
echo "Unknown mode"
exit 1
esac
OUTPUTID=`pactl list short sinks|grep bluez|cut -f 1`
echo "Set Bluetooth as default output"
pacmd set-default-sink ${OUTPUTID}
echo "Move streams to default output"
pactl list short sink-inputs|while read stream; do
streamId=$(echo $stream|cut '-d ' -f1)
echo "moving stream $streamId"
pactl move-sink-input "$streamId" "${OUTPUTID}"
done

@ -1,4 +1,4 @@
#? Config file for bpytop v. 1.0.54
#? Config file for bpytop v. 1.0.61
#* Color theme, looks for a .theme file in "/usr/[local/]share/bpytop/themes" and "~/.config/bpytop/themes", "Default" for builtin default theme.
#* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. color_theme="+monokai"
@ -7,8 +7,11 @@ color_theme="nord"
#* If the theme set background should be shown, set to False if you want terminal background transparency
theme_background=True
#* Set bpytop view mode, "full" for everything shown, "proc" for cpu stats and processes, "stat" for cpu, mem, disks and net stats shown.
view_mode=full
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor=True
#* Manually set which boxes to show. Available values are "cpu mem net proc", seperate values with whitespace.
shown_boxes="cpu mem net proc"
#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.
update_ms=2000
@ -42,6 +45,25 @@ proc_per_core=False
#* Show process memory as bytes instead of percent
proc_mem_bytes=True
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available, see:
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
#* Select from a list of detected attributes from the options menu
cpu_graph_upper="total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available, see:
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
#* Select from a list of detected attributes from the options menu
cpu_graph_lower="total"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower=True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph=False
#* Shows the system uptime in the CPU box.
show_uptime=True
#* Check cpu temperature, needs "osx-cpu-temp" on MacOS X.
check_temp=True
@ -76,6 +98,25 @@ swap_disk=True
#* If mem box should be split to also show disks info.
show_disks=True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical=True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab=False
#* Toggles if io stats should be shown in regular disk usage view
show_io_stat=True
#* Toggles io mode for disks, showing only big graphs for disk read/write speeds.
io_mode=False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined=False
#* Set the top speed for the io graphs in MiB/s (10 by default), use format "device:speed" seperate disks with a comma ",".
#* Example: "/dev/sda:100, /dev/sdb:20"
io_graph_speeds=""
#* Set fixed values for network graphs, default "10M" = 10 Mibibytes, possible units "K", "M", "G", append with "bit" for bits instead of bytes, i.e "100mbit"
net_download="10M"
net_upload="10M"
@ -89,6 +130,9 @@ net_sync=False
#* If the network graphs color gradient should scale to bandwith usage or auto scale, bandwith usage is based on "net_download" and "net_upload" values
net_color_fixed=False
#* Starts with the Network Interface specified here.
net_iface=""
#* Show battery stats in top right if battery is present
show_battery=False

@ -13,7 +13,7 @@ input "type:keyboard" {
set $mod Mod4
# Displays
set $display1 HDMI-A-3
#set $display1 HDMI-A-3
# Workspaces
set $wksp1 "1: Main"
@ -269,7 +269,7 @@ mode "move" {
### Default placement
#
workspace $wksp1 output $display1
#workspace $wksp1 output $display1
### Default workspace layout

@ -106,7 +106,8 @@
"on-click": "~/bin/music.sh Next"
},
"mpd": {
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} ",
// "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
"format-disconnected": "Disconnected ",
"format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ",
"interval": 10,

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Postman
Comment=The collaboration platform for API Development
Exec=/home/dbroqua/Softwares/Postman/app/Postman
Icon=/home/dbroqua/icons/postman.png
Categories=Development;IDE;
StartupNotify=true
Terminal=false

@ -1 +0,0 @@
/home/dbroqua/Projects/forked/rofi-scripts/rofi-finder/finder.sh

@ -1 +0,0 @@
/home/dbroqua/Projects/forked/rofi-scripts/mode-scripts/rofi-file-browser.sh
Loading…
Cancel
Save