mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
sidebar: bluetooth: use symbolic icons
This commit is contained in:
@@ -12,7 +12,7 @@ import { ConfigToggle } from '../../.commonwidgets/configwidgets.js';
|
||||
|
||||
// can't connect: sync_problem
|
||||
|
||||
const USE_SYMBOLIC_ICONS = false;
|
||||
const USE_SYMBOLIC_ICONS = true;
|
||||
|
||||
const BluetoothDevice = (device) => {
|
||||
// console.log(device);
|
||||
@@ -54,6 +54,7 @@ const BluetoothDevice = (device) => {
|
||||
const deviceConnectButton = ConfigToggle({
|
||||
vpack: 'center',
|
||||
expandWidget: false,
|
||||
desc: 'Toggle connection',
|
||||
initValue: device.connected,
|
||||
onChange: (self, newValue) => {
|
||||
device.setConnection(newValue);
|
||||
@@ -66,6 +67,7 @@ const BluetoothDevice = (device) => {
|
||||
vpack: 'center',
|
||||
className: 'sidebar-bluetooth-device-remove',
|
||||
child: MaterialIcon('delete', 'norm'),
|
||||
tooltipText: 'Remove device',
|
||||
setup: setupCursorHover,
|
||||
onClicked: () => execAsync(['bluetoothctl', 'remove', device.address]).catch(print),
|
||||
});
|
||||
|
||||
@@ -891,7 +891,7 @@ $waifu_image_overlay_transparency: 0.7;
|
||||
}
|
||||
|
||||
.sidebar-bluetooth-appicon {
|
||||
font-size: 3.273rem;
|
||||
font-size: 2.273rem;
|
||||
}
|
||||
|
||||
.sidebar-bluetooth-device-remove {
|
||||
|
||||
Reference in New Issue
Block a user